Skip to content

[HELP] Adding services from docker-compose #78

Closed Answered by henrygd
volrod64 asked this question in Q&A
Discussion options

You must be logged in to vote

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 enter host.docker.internal as the host.

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'
    r…

Replies: 3 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@volrod64
Comment options

Answer selected by volrod64
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@henrygd
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants