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

added EXTERNAL_ANY_SYNC_ADMIN_PORT

This commit is contained in:
Grigory Efimov 2024-03-04 14:26:41 -03:00
parent e7509426a0
commit 6f1e4e7b9f
No known key found for this signature in database
GPG key ID: 0A88C34DFA7FD939
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