redsunlib/compose.yaml

25 lines
569 B
YAML
Raw Normal View History

2021-03-31 13:03:18 -07:00
services:
redlib:
image: quay.io/redlib/redlib:latest
2021-03-31 13:03:18 -07:00
restart: always
2023-12-26 18:25:52 -05:00
container_name: "redlib"
2021-03-31 13:03:18 -07: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-02-12 14:43:36 -05:00
# - seccomp=seccomp-redlib.json
cap_drop:
- ALL
env_file: .env
networks:
2023-12-26 18:25:52 -05:00
- redlib
2021-03-31 13:03:18 -07:00
healthcheck:
test: ["CMD", "wget", "--spider", "-q", "--tries=1", "http://localhost:8080/settings"]
2021-03-31 13:03:18 -07:00
interval: 5m
timeout: 3s
networks:
2023-12-26 18:25:52 -05:00
redlib: