Files
bellsystems-cp/docker-compose.yml

31 lines
570 B
YAML

services:
backend:
build: ./backend
container_name: bellsystems-backend
env_file: .env
volumes:
- ./backend:/app
ports:
- "8000:8000"
depends_on: []
frontend:
build: ./frontend
container_name: bellsystems-frontend
volumes:
- ./frontend:/app
- /app/node_modules
ports:
- "5173:5173"
nginx:
image: nginx:alpine
container_name: bellsystems-nginx
ports:
- "80:80"
volumes:
- ./nginx/nginx.conf:/etc/nginx/nginx.conf:ro
depends_on:
- backend
- frontend