-
Hello guys, I added Beszel yesterday
Nothing happen. No error, just .. nothing. I'm stupid ? Begging for help rn lol |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
No worries. You don't give beszel your docker information directly. You just need to run the agent, which gives the information to the hub automatically. Here's an example docker-compose.yml for running both the hub and agent on the same machine. Then in the "add system" dialog you would enter a name like services:
beszel:
image: 'henrygd/beszel'
container_name: 'beszel'
restart: unless-stopped
ports:
- '8090:8090'
volumes:
- ./beszel_data:/beszel_data
extra_hosts:
- 'host.docker.internal:host-gateway'
beszel-agent:
image: 'henrygd/beszel-agent'
container_name: 'beszel-agent'
restart: unless-stopped
network_mode: host
volumes:
- /var/run/docker.sock:/var/run/docker.sock:ro
environment:
PORT: 45876
KEY: '...'
# FILESYSTEM: /dev/sda1 # set to the correct filesystem for disk I/O stats |
Beta Was this translation helpful? Give feedback.
-
You need to replace "..." with your own key value that's displayed when you click 'Add System.' I'm not sure why you edited my example to have "network_mode: bridge". host.docker.internal is used specifically so you can run the agent in host mode. Otherwise you don't need to define any network mode. Just connect using the hostname or container_name value by putting that value in where it says "Host / IP" in 'Add System.' See #73 for examples. You should delete the current localhost system and retry. |
Beta Was this translation helpful? Give feedback.
-
Worked ! Thanks for the help :) |
Beta Was this translation helpful? Give feedback.
No worries. You don't give beszel your docker information directly. You just need to run the agent, which gives the information to the hub automatically.
Here's an example docker-compose.yml for running both the hub and agent on the same machine. Then in the "add system" dialog you would enter a name like
localhost
and enterhost.docker.internal
as the host.