version: '3.8' services: whalehunting-game: build: context: . dockerfile: Dockerfile image: whalehunting-game:latest container_name: whalehunting-game ports: - "8080:80" restart: unless-stopped healthcheck: test: ["CMD", "wget", "--quiet", "--tries=1", "--spider", "http://localhost/"] interval: 30s timeout: 3s retries: 3 start_period: 5s networks: - whalehunting-network networks: whalehunting-network: driver: bridge