2023-11-06 10:39:27 +08:00
|
|
|
# {{ ansible_managed }}
|
|
|
|
version: '3.7'
|
|
|
|
services:
|
|
|
|
libreddit:
|
|
|
|
container_name: libreddit
|
|
|
|
image: libreddit/libreddit:arm
|
|
|
|
security_opt:
|
|
|
|
- no-new-privileges
|
|
|
|
environment:
|
|
|
|
- PUID=1000
|
|
|
|
- PGID=1000
|
|
|
|
- TZ=Asia/Singapore
|
|
|
|
- LIBREDDIT_DEFAULT_THEME=black
|
|
|
|
- LIBREDDIT_DEFAULT_SHOW_NSFW=on
|
2023-12-15 05:33:49 +08:00
|
|
|
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-11-10 05:28:42 +08:00
|
|
|
- libreddit
|
2023-11-06 10:39:27 +08:00
|
|
|
|
|
|
|
networks:
|
2023-11-10 05:28:42 +08:00
|
|
|
libreddit:
|
2023-12-15 05:33:49 +08:00
|
|
|
name: libreddit
|