redsunlib/compose.dev.yaml
2024-02-12 14:43:36 -05:00

27 lines
588 B
YAML

# docker-compose -f docker-compose.dev.yml up -d
version: "3.8"
services:
redlib:
build: .
restart: always
container_name: "redlib"
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
# - seccomp=seccomp-redlib.json
cap_drop:
- ALL
networks:
- redlib
healthcheck:
test: ["CMD", "wget", "--spider", "-q", "--tries=1", "http://localhost:8080/settings"]
interval: 5m
timeout: 3s
networks:
redlib: