version: "3" services: web: build: . command: "python main.py" volumes: - .:/code ports: - "127.0.0.1:8080:8080" restart: always