version: '3.8' services: carneirotech-web: build: context: . dockerfile: Dockerfile container_name: carneirotech-web restart: unless-stopped ports: - "127.0.0.1:5008:5008" environment: - ASPNETCORE_ENVIRONMENT=Production - ASPNETCORE_URLS=http://+:5008 networks: - carneirotech-network healthcheck: test: ["CMD", "curl", "-f", "http://localhost:5008/"] interval: 30s timeout: 3s retries: 3 start_period: 40s networks: carneirotech-network: driver: bridge