This repository has been archived on 2023-05-17. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
auth/docker-compose.dev.yml
mifi 967ef4e440
All checks were successful
continuous-integration/drone/push Build is passing
Updates
2023-05-13 10:44:21 -04:00

42 lines
957 B
YAML

version: '3.8'
services:
auth-service_mongo:
env_file: .env.dev
container_name: ${CONTAINER_PREFIX}-auth-service_mongo
ports:
- 27017:27017
networks:
- backend
volumes:
- auth-db:/data/db
- auth-db:/data/configdb
restart: unless-stopped
image: mongo:latest
auth-service:
env_file: .env.dev
build:
context: .
args:
- PORT
- ENV
container_name: ${CONTAINER_PREFIX}-auth-service
ports:
- 9001:9001
environment:
- DB_HOST=${CONTAINER_PREFIX}-auth-service_mongo
networks:
- labs-net
- backend
restart: unless-stopped
image: node:20-alpine
depends_on:
- auth-service_mongo
networks:
labs-net:
name: labs-net
volumes:
auth-db:
external: true