quivr/docker-compose.dev.yml
Stan Girard a3ca7ecb37
Back/refacto files (#240)
* feat(docker): added docker for prod

* feat(refacto): moved to modules
2023-06-03 23:12:42 +02:00

30 lines
570 B
YAML

version: "3"
services:
frontend:
env_file:
- ./frontend/.env
build:
context: frontend
dockerfile: Dockerfile.dev
container_name: web
restart: always
volumes:
- ./frontend/:/app
- /app/node_modules
- /app/.next
ports:
- 3000:3000
backend:
env_file:
- ./backend/.env
build:
context: backend
dockerfile: Dockerfile
container_name: backend
restart: always
volumes:
- ./backend/:/code/
- ~/.config/gcloud:/root/.config/gcloud
ports:
- 5050:5050