services: backend: build: . restart: unless-stopped env_file: .env environment: DB_PATH: /data/baton.db volumes: - db_data:/data nginx: image: nginx:alpine restart: unless-stopped ports: - "127.0.0.1:8080:80" volumes: - ./frontend:/usr/share/nginx/html:ro - ./nginx/docker.conf:/etc/nginx/conf.d/default.conf:ro depends_on: - backend volumes: db_data: