31 lines
794 B
YAML
31 lines
794 B
YAML
# compose-monitor.yml
|
|
# https://git.bizmark.cloud/marc/bizMark.git
|
|
services:
|
|
beszel:
|
|
image: henrygd/beszel:latest
|
|
container_name: beszel
|
|
restart: unless-stopped
|
|
ports:
|
|
- "8095:8090" # Webinterface: http://<host>:8095
|
|
environment:
|
|
- PORT=8090
|
|
- LANG=de
|
|
- HOST_PROC=/host/proc
|
|
- HOST_SYS=/host/sys
|
|
- HOST_ETC=/host/etc
|
|
volumes:
|
|
- /opt/beszel/data:/app/data
|
|
- /var/run/docker.sock:/var/run/docker.sock:ro
|
|
- /proc:/host/proc:ro
|
|
- /sys:/host/sys:ro
|
|
- /etc:/host/etc:ro
|
|
privileged: true
|
|
deploy:
|
|
resources:
|
|
limits:
|
|
memory: 256M
|
|
healthcheck:
|
|
test: ["CMD-SHELL", "wget -q --spider http://localhost:8090 || exit 1"]
|
|
interval: 30s
|
|
timeout: 5s
|
|
retries: 3 |