Ctrl K
ComunidadGuías…

docker-compose.yml

Rama master · réplica de lectura del repositorio original.

Archivo original ↗Preguntar a KiBot
services:
  steamselfgifter:
    # `docker compose up` pulls the published image; use
    # `docker compose up -d --build` to build from source instead.
    image: ghcr.io/kernelcoffee/steamselfgifter:latest
    build:
      context: .
      dockerfile: Dockerfile
    container_name: steamselfgifter
    ports:
      - "8080:80"
    volumes:
      - ./config:/config:Z
    environment:
      - ENVIRONMENT=production
      - DEBUG=false
      # On Docker (real root in the container), uncomment to run the backend
      # as your host user so ./config files aren't owned by root.
      # Leave unset on rootless podman.
      # - PUID=1000
      # - PGID=1000
    restart: unless-stopped
    healthcheck:
      test: ["CMD", "curl", "-f", "http://localhost/api/v1/system/health"]
      interval: 30s
      timeout: 10s
      retries: 3
      start_period: 40s