redsunlib/compose.yaml

25 lines
597 B
YAML
Raw Permalink Normal View History

2021-04-01 09:03:18 +13:00
services:
2024-06-02 22:32:27 +12:00
redsunlib:
image: git.stardust.wtf/iridium/redsunlib:latest
2021-04-01 09:03:18 +13:00
restart: always
2024-06-02 22:32:27 +12:00
container_name: "redsunlib"
2021-04-01 09:03:18 +13:00
ports:
- 8080:8080 # Specify `127.0.0.1:8080:8080` instead if using a reverse proxy
user: nobody
read_only: true
security_opt:
- no-new-privileges:true
2024-06-02 22:32:27 +12:00
# - seccomp=seccomp-redsunlib.json
cap_drop:
- ALL
env_file: .env
networks:
2024-06-02 22:32:27 +12:00
- redsunlib
2021-04-01 09:03:18 +13:00
healthcheck:
test: ["CMD", "wget", "--spider", "-q", "--tries=1", "http://localhost:8080/settings"]
2021-04-01 09:03:18 +13:00
interval: 5m
timeout: 3s
networks:
2024-06-02 22:32:27 +12:00
redsunlib: