services: recipe-flutter: build: context: ./flutter dockerfile: Dockerfile image: recipe-flutter:local container_name: recipe-flutter restart: unless-stopped environment: FLUTTER_API_URL_INTERNAL: "http://recipe-api:8080" PORT: "5000" ports: - "5000:5000" depends_on: recipe-api: condition: service_healthy healthcheck: test: ["CMD-SHELL", "wget -qO- http://127.0.0.1:5000 >/dev/null 2>&1 || exit 1"] interval: 20s timeout: 10s retries: 5 start_period: 60s networks: - proxy - recipe-internal