services: vertd: container_name: vertd image: ghcr.io/vert-sh/vertd:latest build: . environment: - WEBHOOK_URL=${WEBHOOK_URL} - WEBHOOK_PINGS=${WEBHOOK_PINGS} - ADMIN_PASSWORD=${ADMIN_PASSWORD} - PUBLIC_URL=${PUBLIC_URL} - ALLOW_CPU_FALLBACK=${ALLOW_CPU_FALLBACK} - MAX_UPLOAD_BYTES=${MAX_UPLOAD_BYTES} - VERTD_FORCE_GPU=${VERTD_FORCE_GPU} - VERTD_VAAPI_DEVICE_PATH=${VERTD_VAAPI_DEVICE_PATH} - CORS_ORIGINS=${CORS_ORIGINS:-*} ports: - "${PORT:-24153}:24153" # For AMD/Intel GPUs or CPU-only systems, uncomment the "devices" section - then remove # or comment out the "deploy" section and the "runtime" string used # for NVIDIA GPUs. # # devices: # - /dev/dri # # For NVIDIA cards, keep the following section: runtime: nvidia deploy: resources: reservations: devices: - driver: nvidia count: all capabilities: [ gpu ]