govorov/docker-compose.yml

32 lines
626 B
YAML

services:
backend:
build:
context: ./backend
dockerfile: Dockerfile
container_name: govorov-backend
restart: unless-stopped
env_file:
- ./backend/.env
environment:
- DATABASE_URL=sqlite:///./data/glass_cutting.db
volumes:
- glass_db:/app/data
ports:
- "8143:8143"
frontend:
build:
context: ./frontend
dockerfile: Dockerfile
container_name: govorov-frontend
environment:
- VITE_API_URL:https://govorov.itqop.pw/api
depends_on:
- backend
restart: unless-stopped
ports:
- "4173:4173"
volumes:
glass_db: