0
0
opnxng-deploy-playbook/templates/compose/priviblur.yaml.j2

49 lines
1.1 KiB
Plaintext
Raw Normal View History

2023-12-13 07:36:19 +08:00
# {{ ansible_managed }}
services:
priviblur:
container_name: priviblur
#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
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
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
restart: unless-stopped
networks:
- priviblur
2023-12-13 07:36:19 +08:00
networks:
priviblur:
name: priviblur