services: python-app: build: context: . dockerfile: Dockerfile ports: - "5080:5080" volumes: - .:/app restart: on-failure:3