docker-compose.yml: add mongo
This commit is contained in:
parent
d372007e0e
commit
bc82c05afd
@ -24,6 +24,7 @@ services:
|
||||
- API_TOKEN_TTL=${API_TOKEN_TTL}
|
||||
- API_CACHE_TTL=${API_CACHE_TTL}
|
||||
- REDIS_HOST=redis
|
||||
- MONGO_HOST=mongo
|
||||
restart: always
|
||||
networks:
|
||||
- auth_network
|
||||
@ -35,6 +36,14 @@ services:
|
||||
networks:
|
||||
- auth_network
|
||||
|
||||
mongo:
|
||||
image: mongo:latest
|
||||
networks:
|
||||
- auth_network
|
||||
restart: always
|
||||
volumes:
|
||||
- /opt/docker-volumes/external-dev:/data/db
|
||||
|
||||
server:
|
||||
extends:
|
||||
file: docker-compose.traefik.yml
|
||||
@ -49,6 +58,9 @@ services:
|
||||
networks:
|
||||
- auth_network
|
||||
|
||||
volumes:
|
||||
mongo:
|
||||
|
||||
networks:
|
||||
auth_network:
|
||||
external:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user