29 lines
647 B
YAML
29 lines
647 B
YAML
version: "3.8"
|
|
|
|
services:
|
|
web:
|
|
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
|
|
restart: always
|
|
container_name: "redlib"
|
|
ports:
|
|
- 8080:8080
|
|
user: nobody
|
|
read_only: true
|
|
security_opt:
|
|
- no-new-privileges:true
|
|
cap_drop:
|
|
- ALL
|
|
networks:
|
|
- redlib
|
|
security_opt:
|
|
- seccomp="seccomp-redlib.json"
|
|
healthcheck:
|
|
test: ["CMD", "wget", "--spider", "-q", "--tries=1", "http://localhost:8080/settings"]
|
|
interval: 5m
|
|
timeout: 3s
|
|
|
|
networks:
|
|
redlib:
|