redlib/docker-compose.yml

29 lines
647 B
YAML
Raw Normal View History

2021-03-31 13:03:18 -07:00
version: "3.8"
services:
web:
2024-01-26 17:03:56 +01:00
image: quay.io/redlib/redlib
# quay.io/redlib/redlib:latest-arm # uncomment if you use arm64
# quay.io/redlib/redlib:latest-armv7 # uncomment if you use armv7
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
user: nobody
read_only: true
security_opt:
- no-new-privileges:true
cap_drop:
- ALL
networks:
2023-12-26 18:25:52 -05:00
- redlib
2023-12-26 15:46:20 -05:00
security_opt:
2023-12-26 18:25:52 -05:00
- seccomp="seccomp-redlib.json"
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: