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:
|
2024-02-13 07:34:02 +13:00
|
|
|
- 8080:8080 # Specify `127.0.0.1:8080:8080` instead if using a reverse proxy
|
2023-03-18 05:17:01 +13:00
|
|
|
user: nobody
|
|
|
|
read_only: true
|
|
|
|
security_opt:
|
|
|
|
- no-new-privileges:true
|
2024-06-02 22:32:27 +12:00
|
|
|
# - seccomp=seccomp-redsunlib.json
|
2023-03-18 05:17:01 +13:00
|
|
|
cap_drop:
|
|
|
|
- ALL
|
2024-02-13 07:34:02 +13:00
|
|
|
env_file: .env
|
2023-03-18 05:17:01 +13:00
|
|
|
networks:
|
2024-06-02 22:32:27 +12:00
|
|
|
- redsunlib
|
2021-04-01 09:03:18 +13:00
|
|
|
healthcheck:
|
2021-11-11 13:47:13 +13:00
|
|
|
test: ["CMD", "wget", "--spider", "-q", "--tries=1", "http://localhost:8080/settings"]
|
2021-04-01 09:03:18 +13:00
|
|
|
interval: 5m
|
2021-11-11 13:47:13 +13:00
|
|
|
timeout: 3s
|
2023-03-18 05:17:01 +13:00
|
|
|
|
|
|
|
networks:
|
2024-06-02 22:32:27 +12:00
|
|
|
redsunlib:
|