0
0
opnxng-deploy-playbook/templates/compose/redlib.yaml.j2
2024-11-02 13:34:19 +08:00

37 lines
923 B
Django/Jinja

# {{ ansible_managed }}
services:
redlib:
container_name: redlib
#image: quay.io/redlib/redlib:latest
image: git.opnxng.com/opnxng/redlib:latest
security_opt:
#- seccomp="seccomp-redlib.json"
- no-new-privileges
user: nobody
read_only: true
environment:
- PUID=1000
- PGID=1000
- TZ=Asia/Singapore
- REDLIB_DEFAULT_SHOW_NSFW=on
- REDLIB_DEFAULT_BLUR_NSFW=off
- REDLIB_DEFAULT_LAYOUT=card
#- REDLIB_DEFAULT_THEME=black
- REDLIB_SFW_ONLY=off
# - REDLIB_BANNER=
- REDLIB_ROBOTS_DISABLE_INDEXING=on
- REDLIB_PUSHSHIFT_FRONTEND=undelete.pullpush.io
restart: unless-stopped
healthcheck:
test: ["CMD", "wget", "--spider", "-q", "--tries=1", "http://localhost:8080/settings"]
interval: 5m
timeout: 3s
ports:
- 8882:8080
networks:
- redlib
networks:
redlib:
name: redlib