services: kooltap-updater: build: context: . dockerfile: Dockerfile restart: unless-stopped environment: GIN_MODE: release # Generated by Coolify (see Environment Variables); needed in the X-Admin-Token header to upload releases ADMIN_TOKEN: ${SERVICE_PASSWORD_64_ADMINTOKEN} # Set in Coolify to the "Postgres URL (internal)" of the existing kooltap database resource. # Requires "Connect To Predefined Network" so this container can reach it. DATABASE_URL: ${DATABASE_URL:?} volumes: - kooltap_uploads:/app/uploads - kooltap_tmp:/app/tmp # Only needed until the old SQLite database has been imported into Postgres on first start - kooltap_data:/app/data expose: - "3000" healthcheck: test: ["CMD", "wget", "-qO-", "http://127.0.0.1:3000/"] interval: 15s timeout: 5s retries: 5 volumes: kooltap_uploads: kooltap_tmp: kooltap_data: