Update docker compose to fix issues with api connecting
This commit is contained in:
parent
b90aadfbba
commit
acb97d9c48
1 changed files with 5 additions and 5 deletions
|
@ -42,11 +42,14 @@ services:
|
|||
- DB_USERNAME=mogus
|
||||
- DB_PASS
|
||||
- DB_NAME=admin
|
||||
- REDIS_URL
|
||||
- REDIS_URL=redis://redis:6379
|
||||
expose:
|
||||
- 9000
|
||||
ports:
|
||||
- 0.0.0.0:9000:9000
|
||||
- "9000:9000"
|
||||
depends_on:
|
||||
- mongo
|
||||
- redis
|
||||
restart: unless-stopped
|
||||
|
||||
mongo:
|
||||
|
@ -56,9 +59,6 @@ services:
|
|||
- MONGO_INITDB_ROOT_PASSWORD=${DB_PASS}
|
||||
expose:
|
||||
- 27017
|
||||
# If you want to access the database from outside
|
||||
#ports:
|
||||
# - "0.0.0.0:36602:27017"
|
||||
volumes:
|
||||
- ./db:/data/db:rw
|
||||
restart: unless-stopped
|
||||
|
|
Loading…
Reference in a new issue