services:
  web:
    image: floorithardwoodfloors
    container_name: floorit-hardwood-web
    build:
      context: .
      dockerfile: Dockerfile
    ports:
      - "8096:80"
    env_file: .env
    restart: unless-stopped
    healthcheck:
      test: ["CMD", "curl", "-fsS", "http://127.0.0.1/"]
      interval: 30s
      timeout: 5s
      start_period: 10s
      retries: 3
