Revert "More paths"
All checks were successful
continuous-integration/drone/push Build is passing

This reverts commit 43dcdf4e6a.
This commit is contained in:
2023-05-11 07:56:32 -04:00
parent 43dcdf4e6a
commit cfad224c8d
6 changed files with 9 additions and 10 deletions

42
docker-compose.dev.yml Normal file
View File

@@ -0,0 +1,42 @@
version: '3.8'
services:
auth-service_mongo:
env_file: .env.dev
container_name: ${CONTAINER_PREFIX:-dev}-auth-service_mongo
ports:
- 27017:27017
networks:
- backend
volumes:
- auth-db:/data/db
- auth-db:/data/configdb
- ./mongo-init.js:/docker-entrypoint-initdb.d/mongo-init.js:ro
restart: unless-stopped
image: mongo:latest
auth-service:
env_file: .env.dev
build:
context: .
args:
- PORT
- ENV
container_name: ${CONTAINER_PREFIX:-dev}-auth-service
ports:
- 9001:9001
environment:
- DB_HOST=${CONTAINER_PREFIX:-dev}-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