version: '3' services: neo4j: image: neo4j:4.1 volumes: - 'db-data:/data' environment: NEO4J_AUTH: neo4j/my_password ports: - '127.0.0.1:7474:7474' - '127.0.0.1:7687:7687' python: build: . environment: PORT: 5000 NEO4J_HOST: 'neo4j' NEO4J_USER: 'neo4j' NEO4J_PW: 'my_password' UPLOAD_DIR: '/run/uploads' DEV: 'true' APP_SECRET: 'dev' volumes: - 'uploads:/run/uploads' - './:/usr/src/app' ports: - '127.0.0.1:5000:5000' volumes: db-data: uploads: