configure beszel

This commit is contained in:
2025-09-01 09:22:52 +02:00
parent dae79d9593
commit f50627b8d6
2 changed files with 31 additions and 0 deletions

28
compose.beszel.yaml Normal file
View File

@@ -0,0 +1,28 @@
services:
beszel:
image: henrygd/beszel:0.12.6
container_name: beszel
restart: unless-stopped
ports:
- 8090:8090
volumes:
- /opt/beszel/data:/beszel_data
- /opt/beszel/socket:/beszel_socket
environment:
USER_CREATION: true
DISABLE_PASSWORD_AUTH: true
beszel-agent:
image: henrygd/beszel-agent:0.12.6
container_name: beszel-agent
restart: unless-stopped
network_mode: host
volumes:
- /opt/beszel/agent:/var/lib/beszel-agent
- /opt/beszel/socket:/beszel_socket
- /var/run/docker.sock:/var/run/docker.sock:ro
environment:
LISTEN: /beszel_socket/beszel.sock
HUB_URL: http://localhost:8090
TOKEN: ${BESZEL_TOKEN:?}
KEY: ${BESZEL_KEY:?}