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

32 lines
752 B
Plaintext
Raw Normal View History

2023-11-06 10:39:27 +08:00
# {{ ansible_managed }}
version: '3.7'
services:
2023-12-27 14:59:44 +08:00
redlib:
container_name: redlib
2024-03-29 10:02:51 +08:00
image: quay.io/redlib/redlib:latest
#image: quay.io/redlib/redlib:latest-arm
2023-11-06 10:39:27 +08:00
security_opt:
2023-12-27 14:59:44 +08:00
#- seccomp="seccomp-redlib.json"
2023-11-06 10:39:27 +08:00
- no-new-privileges
environment:
- PUID=1000
- PGID=1000
- TZ=Asia/Singapore
- LIBREDDIT_DEFAULT_THEME=black
- LIBREDDIT_DEFAULT_SHOW_NSFW=on
2023-12-27 14:59:44 +08:00
- REDLIB_DEFAULT_THEME=black
- REDLIB_DEFAULT_SHOW_NSFW=on
restart: unless-stopped
2023-11-06 10:39:27 +08:00
healthcheck:
test: ["CMD", "wget", "--spider", "-q", "--tries=1", "http://localhost:8080/settings"]
interval: 5m
timeout: 3s
ports:
- 8882:8080
networks:
2023-12-27 14:59:44 +08:00
- redlib
2023-11-06 10:39:27 +08:00
networks:
2023-12-27 14:59:44 +08:00
redlib:
name: redlib