services: beszel: image: henrygd/beszel:0.19.0 container_name: beszel restart: always environment: APP_URL: http://10.1.1.111:8090 BESZEL_HUB_USER_EMAIL: ${BESZEL_ADMIN_EMAIL} BESZEL_HUB_USER_PASSWORD: ${BESZEL_ADMIN_PASSWORD} ports: - "8090:8090" volumes: - /app-config/beszel/hub:/beszel_data - /app-config/beszel/socket:/beszel_socket - ./config.yml:/beszel_data/config.yml:ro healthcheck: test: ["CMD", "/beszel", "health", "--url", "http://localhost:8090"] interval: 60s timeout: 5s start_period: 15s retries: 3 beszel-key-helper: image: alpine:3.22 container_name: beszel-key-helper restart: "no" volumes: - /app-config/beszel/hub:/hub:ro - /app-config/beszel/key-helper:/out command: >- sh -c "apk add --no-cache openssh-client >/dev/null && ssh-keygen -y -f /hub/id_ed25519 > /out/id_ed25519.pub && sleep 600"