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:
commit
939e832130
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_HOST=0.0.0.0
|
||||||
ANY_SYNC_ADMIN_PORT=5000
|
ANY_SYNC_ADMIN_PORT=5000
|
||||||
|
EXTERNAL_ANY_SYNC_ADMIN_PORT=80
|
||||||
|
|
|
@ -211,7 +211,7 @@ services:
|
||||||
- mongo-2
|
- mongo-2
|
||||||
- mongo-3
|
- mongo-3
|
||||||
ports:
|
ports:
|
||||||
- "80:${ANY_SYNC_ADMIN_PORT}"
|
- "${EXTERNAL_ANY_SYNC_ADMIN_PORT}:${ANY_SYNC_ADMIN_PORT}"
|
||||||
volumes:
|
volumes:
|
||||||
- ./etc/any-sync-admin/:/etc/any-sync-admin/
|
- ./etc/any-sync-admin/:/etc/any-sync-admin/
|
||||||
restart: on-failure
|
restart: on-failure
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue