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:
parent
e7509426a0
commit
6f1e4e7b9f
2 changed files with 2 additions and 1 deletions
1
.env
1
.env
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue