compose_monitor.yaml
Initiale Version der Ressourcen-Überwachung (Beszel)
This commit is contained in:
parent
0de7a31639
commit
34b4b0b240
|
|
@ -0,0 +1,40 @@
|
||||||
|
version: "3.8"
|
||||||
|
|
||||||
|
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
|
||||||
|
|
||||||
|
beszel-agent:
|
||||||
|
image: henrygd/beszel-agent:latest
|
||||||
|
container_name: beszel-agent
|
||||||
|
restart: unless-stopped
|
||||||
|
network_mode: host
|
||||||
|
volumes:
|
||||||
|
- /var/run/docker.sock:/var/run/docker.sock:ro
|
||||||
|
- /opt/beszel/beszel_agent_data:/var/lib/beszel-agent
|
||||||
|
environment:
|
||||||
|
- LISTEN=45876
|
||||||
|
- KEY=ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIBqp3wriOT+yNVBtx5FAN8t8DT6DMNnhtOktRYyRmUkE
|
||||||
|
- TOKEN=a49-f40461f6d18-7a3-f84d92692e8
|
||||||
|
- HUB_URL=http://172.16.1.168:8095
|
||||||
Loading…
Reference in New Issue