services:
  bifrost:
    image: docker.io/maximhq/bifrost:latest
    container_name: bifrost
    ports:
      - "8000:8000"
    volumes:
      - bifrost-data:/app/data
    environment:
      - APP_PORT=8000
      - APP_HOST=0.0.0.0
      - LOG_LEVEL=info
      - LOG_STYLE=json
    ulimits:
      nofile:
        soft: 65536
        hard: 65536
    healthcheck:
      test:
        [
          "CMD",
          "wget",
          "--no-verbose",
          "--tries=1",
          "-O",
          "/dev/null",
          "http://localhost:8080/health",
        ]
      interval: 30s
      timeout: 10s
      retries: 3
    restart: unless-stopped
