version: '3.8' services: frontend: build: context: ./frontend dockerfile: Dockerfile ports: - "3000:80" volumes: - ./data:/usr/share/nginx/html environment: - REACT_APP_API_URL=http://localhost:8000/api depends_on: - backend networks: - newzy-network backend: build: context: ./backend dockerfile: Dockerfile ports: - "8000:8000" volumes: - ./data/db:/app/data/db environment: - DATABASE_URL=sqlite:///./data/db/newzy.db networks: - newzy-network networks: newzy-network: driver: bridge