Self-Cpa-Cleaner / docker-compose.yml
root
Add safer installer and tighten Docker/docs defaults
299a74b
Raw History Blame Contribute Delete
1.14 kB
services:
cliproxyapi-cleaner:
image: ${CLIPROXY_IMAGE:-docker.io/kxmjj/cliproxyapi-cleaner:latest}
pull_policy: always
container_name: cliproxyapi-cleaner
restart: unless-stopped
ports:
- "28717:28717"
environment:
TZ: Asia/Shanghai
CLIPROXY_ALLOWED_HOSTS: "*"
CLIPROXY_COOKIE_SECURE: "false"
CLIPROXY_CONFIG_PATH: "/data/web_config.json"
CLIPROXY_STATE_FILE: "/data/CLIProxyAPI-cleaner-state.json"
CLIPROXY_REPORT_DIR: "/data/reports/cliproxyapi-auth-cleaner"
CLIPROXY_REPORT_ROOT: "/data/reports/cliproxyapi-auth-cleaner"
CLIPROXY_BACKUP_ROOT: "/data/backups/cliproxyapi-auth-cleaner"
CLIPROXY_WEB_LOG_PATH: "/data/logs/web.log"
CLIPROXY_CLEANER_LOG_PATH: "/data/logs/CLIProxyAPI-cleaner.log"
CLIPROXY_SUPERVISORCTL_CONFIG: "/app/docker/supervisord.conf"
# Optional first-boot helpers. Remove or leave empty after initialization.
# CLIPROXY_BASE_URL: "https://example.com/management.html"
# CLIPROXY_MANAGEMENT_KEY: "replace-me"
# CLIPROXY_CONSOLE_PASSWORD: "change-me-now"
volumes:
- ./docker-data:/data