This commit is contained in:
@@ -2,20 +2,20 @@ version: '3.8'
|
||||
|
||||
services:
|
||||
auth-service_mongo:
|
||||
container_name: ${CONTAINER_PREFIX}-auth-service_mongo
|
||||
env_file: .env
|
||||
container_name: ${CONTAINER_PREFIX:-mifi}-auth-service_mongo
|
||||
env_file: staging.env
|
||||
networks:
|
||||
- docknet
|
||||
volumes:
|
||||
- '/volume1/docker/labs/auth/mongo:/data/db'
|
||||
restart: unless-stopped
|
||||
image: mongo
|
||||
image: mongo:latest
|
||||
auth-service:
|
||||
env_file: .env
|
||||
env_file: staging.env
|
||||
build: .
|
||||
container_name: ${CONTAINER_PREFIX}-auth-service
|
||||
container_name: ${CONTAINER_PREFIX:-mifi}-auth-service
|
||||
environment:
|
||||
- DB_HOST=${CONTAINER_PREFIX}-auth-service_mongo
|
||||
- DB_HOST=${CONTAINER_PREFIX:-mifi}-auth-service_mongo
|
||||
labels:
|
||||
- 'traefik.enable=true'
|
||||
- 'traefik.http.routers.grow.rule=Host(`${HOST}`) && Path(`${ROUTE_PREFIX}`)'
|
||||
@@ -27,7 +27,7 @@ services:
|
||||
networks:
|
||||
- docknet
|
||||
restart: unless-stopped
|
||||
image: node
|
||||
image: node:20-alpine
|
||||
depends_on:
|
||||
- auth-service_mongo
|
||||
networks:
|
||||
|
||||
Reference in New Issue
Block a user