services: dcpetition: build: context: . dockerfile: Dockerfile container_name: dcpetition restart: unless-stopped expose: - "8000" environment: - PETITION_ID=1 - DB_PATH=/app/data/petition.db volumes: - ./data:/app/data networks: - npm_network - default networks: npm_network: external: true name: nginx-proxy-network default: driver: bridge