redsunlib/compose.dev.yaml

27 lines
603 B
YAML
Raw Permalink Normal View History

2024-01-27 05:06:30 +13:00
# docker-compose -f docker-compose.dev.yml up -d
version: "3.8"
services:
2024-06-02 22:32:27 +12:00
redsunlib:
2024-01-27 05:06:30 +13:00
build: .
restart: always
2024-06-02 22:32:27 +12:00
container_name: "redsunlib"
2024-01-27 05:06:30 +13:00
ports:
2024-02-13 07:37:11 +13:00
- 8080:8080 # Specify `127.0.0.1:8080:8080` instead if using a reverse proxy
2024-01-27 05:06:30 +13:00
user: nobody
read_only: true
security_opt:
- no-new-privileges:true
2024-06-02 22:32:27 +12:00
# - seccomp=seccomp-redsunlib.json
2024-01-27 05:06:30 +13:00
cap_drop:
- ALL
networks:
2024-06-02 22:32:27 +12:00
- redsunlib
2024-01-27 05:06:30 +13:00
healthcheck:
test: ["CMD", "wget", "--spider", "-q", "--tries=1", "http://localhost:8080/settings"]
interval: 5m
timeout: 3s
networks:
2024-06-02 22:32:27 +12:00
redsunlib: