28 lines
608 B
Plaintext
28 lines
608 B
Plaintext
|
# {{ 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
|
||
|
restart: unless-stopped
|
||
|
healthcheck:
|
||
|
test: ["CMD", "wget", "--spider", "-q", "--tries=1", "http://localhost:8080/settings"]
|
||
|
interval: 5m
|
||
|
timeout: 3s
|
||
|
ports:
|
||
|
- 8882:8080
|
||
|
networks:
|
||
|
- IPv4
|
||
|
|
||
|
networks:
|
||
|
IPv4:
|
||
|
external:
|
||
|
name: IPv4
|