name: sproof_challenge services: sproof_frontend: restart: always hostname: sproof_frontend container_name: sproof_frontend ports: - '8090:80' build: context: . dockerfile: Dockerfile_frontend deploy: restart_policy: condition: any delay: 15s window: 120s sproof_backend: restart: always hostname: sproof_backend container_name: sproof_backend ports: - '8095:85' build: context: . dockerfile: Dockerfile_backend deploy: restart_policy: condition: any delay: 15s window: 120s