services:
restic-123pan:
build:
context: .
image: ghcr.io/gaoyifan/restic-123pan:latest
container_name: restic-123pan
restart: unless-stopped
network_mode: host
environment:
- PAN123_CLIENT_ID=${PAN123_CLIENT_ID}
- PAN123_CLIENT_SECRET=${PAN123_CLIENT_SECRET}
- PAN123_REPO_PATH=${PAN123_REPO_PATH:-/restic-backup}
- LISTEN_ADDR=${LISTEN_ADDR:-0.0.0.0:8000}
- RUST_LOG=${RUST_LOG:-info}
- DB_PATH=${DB_PATH:-cache/cache-123pan.db}
volumes:
- ./cache:/app/cache