mirror of
https://github.com/StanGirard/quivr.git
synced 2024-11-24 14:08:09 +03:00
a3ca7ecb37
* feat(docker): added docker for prod * feat(refacto): moved to modules
30 lines
570 B
YAML
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 |