Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
I didn't put anything in the file. Copied from Github, pasted and built as the video suggested. I think this one's beyond my skill level, so I'll skip it, buy thank you!
You should have two containers starting, beszel and beszel-agent. Beszel will start and beszel-agent will stop on first deploy. Then you have to edit token and key as you will get from hub when you press "Add System" and then redeploy the compose file. Remember to use /beszel_socket/beszel.sock as Host/IP in the Add System window.I tried your compose file and got the same results. the container starts and stops about 5 seconds later and loops.
services:
beszel:
image: henrygd/beszel:latest
container_name: beszel
restart: unless-stopped
environment:
APP_URL: http://localhost:8090
ports:
- 8090:8090
volumes:
- ./beszel_data:/beszel_data
- ./beszel_socket:/beszel_socket
beszel-agent:
image: henrygd/beszel-agent:latest
container_name: beszel-agent
restart: unless-stopped
network_mode: host
volumes:
- ./beszel_agent_data:/var/lib/beszel-agent
- ./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: <token>
KEY: "<key>"
services:
beszel:
image: henrygd/beszel:latest
container_name: beszel
restart: unless-stopped
ports:
- 8091:8090
volumes:
- /volume2/docker/beszel/beszel_data:/beszel_data
- /volume2/docker/beszel/beszel_socket:/beszel_socket
beszel-agent:
image: henrygd/beszel-agent:latest
container_name: beszel-agent
restart: unless-stopped
network_mode: host
volumes:
- /volume2/docker/beszel/beszel_agent_data:/var/lib/beszel-agent
- /volume2/docker/beszel/beszel_socket:/beszel_socket
- /var/run/docker.sock:/var/run/docker.sock:ro
environment:
LISTEN: /beszel_socket/beszel.sock
HUB_URL: http://192.168.178.5:8091
TOKEN: xxxxxxxxxx # get it from Add System window
KEY: "xxxxxxxxxx" # get it from Add System window
Hub is the main Beszel container from the conpose file above. It provides the web interface too (port 8091 in my case). For every system you want to monitor you need the agent that connects to the hub. Both included in the above docker compose.You mentioned a hub which am guessing is a web interface. However, nothing happens other than the agent starting and stopping
We use essential cookies to make this site work, and optional cookies to enhance your experience.