version: '3.4' services: webserver: restart: always scale: 1 build: context: ./ dockerfile: ./Dockerfile networks: - networkName volumes: - ./:/app ports: - "7861:7861" command: "python app.py" networks: networkName: driver: bridge