Files
Jucundus_old/docker-compose-dev.yml
T
2024-05-16 16:05:41 +02:00

21 lines
313 B
YAML

version: '3.1'
services:
db:
image: mongo
ports:
- "27017:27017"
volumes:
- ./data:/data/db
backend:
image: node:20
working_dir: /backend
volumes:
- ./backend:/backend
ports:
- "3000:3000"
command: ["npm", "run", "dev"]
depends_on:
- db