Files
auth-proxy/docker-compose.yml
db123-test 7221feb6d4 feat: add permanent whitelist list endpoint and rename DB table
- Add GET /api/whitelist/perm/list to list permanent whitelisted entries
- Implement permWhitelistListHandler with API key verification
- Rename permanent_whitelist table to perm_whitelist for consistency
- Update default DB path from ./data to /data
- Comment out build job in CI/CD workflow
2026-05-04 11:29:01 +03:30

37 lines
822 B
YAML

# Docker Compose example for auth-proxy
#
# This file is a minimal example. Adjust the environment variables
# and volumes to match your setup.
services:
auth-proxy:
build: .
image: yejayekhoob/auth-proxy:latest
container_name: auth-proxy
restart: unless-stopped
expose:
- "8080"
environment:
AUTH_PROXY_PORT: "8080"
AUTH_PROXY_API_TOKEN: "${AUTH_PROXY_API_TOKEN:-CHANGE_ME}"
DATA_DIR: "/data"
AUTH_PROXY_DB_PATH: "/data/auth-proxy.db"
volumes:
- ./config/permanent_whitelist.txt:/config/permanent_whitelist.txt:ro
- auth-data:/data
networks:
- proxy_net
read_only: true
tmpfs:
- /tmp
security_opt:
- no-new-privileges:true
cap_drop:
- ALL
volumes:
auth-data:
networks:
proxy_net:
external: true