version: '3.8' services: backend: build: context: ./backend dockerfile: Dockerfile volumes: - ./backend:/app - /app/node_modules environment: - DB_PATH=/data/db.sqlite ports: - "3000:3000" depends_on: - db frontend: build: context: ./frontend dockerfile: Dockerfile volumes: - ./frontend:/app - /app/node_modules environment: - REACT_APP_API_URL=http://localhost:3000 depends_on: - backend nginx: image: nginx:alpine ports: - "80:80" volumes: - ./nginx/nginx.conf:/etc/nginx/conf.d/default.conf depends_on: - frontend db: image: keinos/sqlite3 volumes: - ./data:/data