redsunlib/docker-compose.yml

27 lines
489 B
YAML
Raw Normal View History

2021-04-01 09:03:18 +13:00
version: "3.8"
services:
web:
build: .
restart: always
2023-12-27 12:25:52 +13:00
container_name: "redlib"
2021-04-01 09:03:18 +13:00
ports:
- 8080:8080
user: nobody
read_only: true
security_opt:
- no-new-privileges:true
cap_drop:
- ALL
networks:
2023-12-27 12:25:52 +13:00
- redlib
2023-12-27 09:46:20 +13:00
security_opt:
2023-12-27 12:25:52 +13:00
- seccomp="seccomp-redlib.json"
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:
2023-12-27 12:25:52 +13:00
redlib: