2023-12-13 07:36:19 +08:00
|
|
|
# {{ ansible_managed }}
|
|
|
|
services:
|
|
|
|
priviblur:
|
|
|
|
container_name: priviblur
|
2024-10-09 20:18:44 +08:00
|
|
|
#image: quay.io/pussthecatorg/priviblur
|
|
|
|
image: git.opnxng.com/opnxng/priviblur:latest
|
2023-12-13 07:36:19 +08:00
|
|
|
security_opt:
|
|
|
|
- no-new-privileges
|
|
|
|
environment:
|
|
|
|
- TZ=Asia/Singapore
|
|
|
|
# - PRIVIBLUR_FORWARDED_SECRET =
|
|
|
|
- PRIVIBLUR_PROXIES_COUNT=1
|
|
|
|
- PRIVIBLUR_REAL_IP_HEADER="x-real-ip"
|
|
|
|
restart: unless-stopped
|
|
|
|
ports:
|
|
|
|
- 8907:8000
|
|
|
|
volumes:
|
|
|
|
- {{ docker_dir }}/priviblur/config.toml:/priviblur/config.toml:Z,ro
|
|
|
|
networks:
|
|
|
|
- priviblur
|
|
|
|
|
2024-05-26 11:55:58 +08:00
|
|
|
priviblur-redis:
|
|
|
|
container_name: priviblur-redis
|
|
|
|
image: docker.io/valkey/valkey:alpine
|
|
|
|
command: valkey-server --save 30 1 --loglevel warning
|
|
|
|
security_opt:
|
|
|
|
- no-new-privileges
|
2024-08-11 21:41:34 +08:00
|
|
|
user: 999:1000
|
2024-05-26 11:55:58 +08:00
|
|
|
read_only: true
|
|
|
|
cap_drop:
|
|
|
|
- ALL
|
|
|
|
cap_add:
|
|
|
|
- SETGID
|
|
|
|
- SETUID
|
|
|
|
- DAC_OVERRIDE
|
2024-08-11 21:41:34 +08:00
|
|
|
environment:
|
|
|
|
#- PUID=1000
|
|
|
|
#- PGID=1000
|
|
|
|
- TZ=Asia/Singapore
|
|
|
|
volumes:
|
|
|
|
- {{ docker_dir }}/priviblur/valkey-data:/data
|
2024-05-26 11:55:58 +08:00
|
|
|
restart: unless-stopped
|
|
|
|
networks:
|
|
|
|
- priviblur
|
|
|
|
|
2023-12-13 07:36:19 +08:00
|
|
|
networks:
|
|
|
|
priviblur:
|
2024-10-09 20:18:44 +08:00
|
|
|
name: priviblur
|