1
0
Fork 0
mirror of https://github.com/anyproto/any-sync-dockercompose.git synced 2025-06-08 05:47:03 +09:00

Merge pull request #26 from anyproto/pr24

added EXTERNAL_ANY_SYNC_ADMIN_PORT
This commit is contained in:
Grigory Efimov 2024-03-07 13:19:34 -03:00 committed by GitHub
commit 939e832130
Signed by: github
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 1 deletions

1
.env
View file

@ -68,3 +68,4 @@ REDIS_URL="redis://${REDIS_HOST}:${REDIS_PORT}?dial_timeout=3&read_timeout=6s"
ANY_SYNC_ADMIN_HOST=0.0.0.0
ANY_SYNC_ADMIN_PORT=5000
EXTERNAL_ANY_SYNC_ADMIN_PORT=80

View file

@ -211,7 +211,7 @@ services:
- mongo-2
- mongo-3
ports:
- "80:${ANY_SYNC_ADMIN_PORT}"
- "${EXTERNAL_ANY_SYNC_ADMIN_PORT}:${ANY_SYNC_ADMIN_PORT}"
volumes:
- ./etc/any-sync-admin/:/etc/any-sync-admin/
restart: on-failure