Commit Graph

66 Commits

Author SHA1 Message Date
omg-xtao
9c25d4656e
modify 2024-11-01 06:21:32 +00:00
JRoot Junior
13e606c76b
Refactor entrypoint script for improved flexibility
Change the shebang to use env, add helper functions to handle environment variables, and dynamically append command arguments. This improves script flexibility and ensures critical variables are set or loaded from files.
2024-10-21 02:01:29 +03:00
Alex Root Junior
af7729be8d
Merge pull request #21 from jieggii/master
Add docker secrets support for TELEGRAM_API_ID and TELEGRAM_API_HASH
2024-10-21 00:24:14 +03:00
Alex Root Junior
0096d99a86
Merge branch 'master' into master 2024-10-21 00:23:56 +03:00
Alex Root Junior
a405943f4b
Merge pull request #20 from kiki-kanri/kiki-kanri-feat/http-port-env
feat: use TELEGRAM_HTTP_PORT env to set the api server listening port
2024-10-21 00:21:16 +03:00
jieggii
fb47bf7d0a Add more details to error message in docker-entrypoint.sh 2024-08-08 14:40:02 +03:00
jieggii
2d5e9553c8 Fix condition in docker-entrypoint.sh 2024-08-08 14:39:06 +03:00
jieggii
6609c98025 Reorganize code in docker-entrypoint.sh 2024-08-08 14:27:39 +03:00
jieggii
3168dc82ba Fixes for file_env function
- Avoid using eval
- Add validation logic for environment variables existence
2024-08-08 14:20:39 +03:00
jieggii
6505e0619f Add support for Docker secrets in Telegram API credentials
Read values for TELEGRAM_API_ID and TELEGRAM_API_HASH from files specified by
TELEGRAM_API_ID_FILE and TELEGRAM_API_HASH_FILE respectively. This allows
for better management of sensitive information through Docker secrets.
2024-08-07 16:09:32 +03:00
kiki-kanri
bf59a48392 docs: add TELEGRAM_HTTP_PORT env description to readme 2024-08-05 20:43:56 +08:00
kiki-kanri
e19317eb44 feat: handling of http-port env values added to entry points 2024-08-05 20:41:28 +08:00
JRoot Junior
a3e3b4c0a2
Fixed Alpine version 2024-06-10 00:32:54 +03:00
JRoot Junior
118644715f
Upload github.env only once 2024-06-10 00:31:23 +03:00
JRoot Junior
1caa9a4e96
Try to fix pipeline 2024-06-10 00:23:58 +03:00
Alex Root Junior
a38657b887
Merge pull request #16 from Vadim-Khristenko/master
Fix multiarch.yml
2024-06-08 19:29:35 +03:00
𝓥𝓐𝓘 | | 𝓟𝓻𝓸𝓰𝓻𝓪𝓶𝓶𝓮𝓻
c6bf11a660
Fix multiarch.yml 2024-06-08 17:17:12 +03:00
JRoot Junior
7b1f1d3f07
Fixed typo 2024-01-07 15:37:25 +02:00
JRoot Junior
0cb82ef84a
Update alpine version 2024-01-07 15:31:06 +02:00
JRoot Junior
c02ea22eb8
Added lost env. 2024-01-06 10:39:37 +02:00
JRoot Junior
8b7c297aa2
Update pipeline 2024-01-06 10:37:23 +02:00
JRoot Junior
720d2718ea
Added more tags for platform specific images 2024-01-06 00:42:10 +02:00
JRoot Junior
3fb6c31dec
Added permissions 2024-01-05 18:59:43 +02:00
JRoot Junior
b30034c00a
Update publish step 2024-01-05 18:25:20 +02:00
JRoot Junior
cd392634c7
Rename image 2024-01-05 18:05:04 +02:00
JRoot Junior
cf67da94c6
Fixed credentials 2024-01-05 17:59:42 +02:00
Alex Root Junior
3fec04c0b2
Merge pull request #12 from aiogram/rework-structure
Reworked project structure and added multi-arch build
2024-01-05 17:56:16 +02:00
JRoot Junior
3806097570
Update pipeline 2024-01-05 17:55:44 +02:00
JRoot Junior
0d2ef71665
Try to build multi-arch image (again) 2024-01-05 13:15:49 +02:00
Alex Root Junior
d707a8c8e0 Try with minimized CPU count 2023-10-01 17:06:48 +03:00
Alex Root Junior
feb59875fd Small changes in repo-structure and try to build ARM 2023-10-01 16:55:11 +03:00
JRoot Junior
70a98c31f5
Updated Alpine 2023-02-25 18:19:35 +02:00
Alex Root Junior
d361401aee
Merge pull request #7 from InPRTx/add-http-ip-address
Added TELEGRAM_HTTP_IP_ADDRESS
2023-02-25 18:15:35 +02:00
InPRTx
2899471a0f
add TELEGRAM_HTTP_IP_ADDRESS 2023-02-15 18:50:45 +08:00
Alex Root Junior
171f042580
Merge pull request #5 from T1MOXA/fix/missing-space
Fixed missing space for TELEGRAM_LOG_FILE variable
2023-02-12 01:04:12 +02:00
T1MOXA
e3c15d9e37
Fixed missing space for TELEGRAM_LOG_FILE variable 2022-08-19 14:21:35 +03:00
Alex Root Junior
211a01c800
Merge pull request #4 from aiogram/hide-token-from-access-logs
Hide token from nginx access logs
2022-04-05 02:36:46 +03:00
Alex Root Junior
4168920b02
Merge pull request #3 from aiogram/minor/add-quotes-for-ports
Quote port mapping
2022-04-05 02:35:29 +03:00
Oleg A
9d2c3e0c96
fix: add method 2022-04-05 00:09:11 +03:00
Oleg A
a3666b3040
Update default.conf 2022-04-05 00:00:18 +03:00
Oleg A
4d46d8059b
Update docker-compose.yml
chore: quote nginx port mapping
2022-04-03 20:12:18 +03:00
Oleg A
bbc589cd9c
docs: quote port mapping
Unquoted port mapping not recommended
2022-04-03 19:59:40 +03:00
Alex Root Junior
d76da0bef8 Rollback cmake call 2021-12-14 13:20:24 +02:00
Alex Root Junior
8e81f493d1 Disable ARM builds 2021-12-13 10:43:16 +02:00
Alex Root Junior
6746b72e64 Try to enable ARM builds 2021-12-13 01:11:47 +02:00
Alex Root Junior
199f77237b Remove ARM builds, sorry for that. Is too slow and reaches GitHub Actions timeout. 2021-10-03 19:25:00 +03:00
Alex Root Junior
5ee8dfc927 Anchors are not currently supported by GitHub actions. 2021-10-03 17:36:56 +03:00
Alex Root Junior
9ea301844f Separate slow ARM builds 2021-10-03 17:34:53 +03:00
Alex Root Junior
1c03eaefa0
Merge pull request #1 from youlovesaturn/dev
Added docker cache and ARM platform
2021-08-22 15:06:28 +03:00
youlovesaturn
9dfb7317f2 Added docker cache and ARM platform 2021-08-03 14:34:18 +02:00