@@ -75,6 +75,8 @@ Diese Anleitung ist nur für die Installation eines lokalen Agenten auf demselbe
7575 dokku config:set --no-restart {{app-agent}} KEY=" {{KEY}}"
7676 dokku config:set --no-restart {{app-agent}} TOKEN=" {{TOKEN}}"
7777
78+ # no domain for remote agent
79+ dokku domains:clear {{remote-agent}}
7880
7981 dokku network:set {{app-agent}} attach-post-deploy {{app}}-net
8082
@@ -87,13 +89,17 @@ Diese Anleitung ist nur für die Installation eines lokalen Agenten auf demselbe
8789## Beszel remote Agent
8890
8991<DynamicInput name = " remote-agent" default = ' beszel-agent' monospace />
92+ <DynamicInput name = " agent-domain" default = ' https://agent-beszel.domain.ch' monospace />
9093<DynamicInput name = " HUB_URL" monospace default = " https://beszel.domain.ch" />
94+ <DynamicInput name = " LISTEN" default = ' 80' monospace />
9195<DynamicInput name = " TOKEN" monospace />
9296<DynamicInput name = " KEY" monospace />
9397
9498<TemplateCode >
9599 ``` bash title="root@dokku"
96100 dokku apps:create {{remote-agent}}
101+ dokku domains:set {{remote-agent}} {{agent-domain}}
102+ dokku ports:add {{remote-agent}} http:80:45876
97103
98104 dokku storage:ensure-directory --chown root {{remote-agent}}
99105 mkdir -p /var/lib/dokku/data/storage/{{remote-agent}}/data
@@ -104,7 +110,7 @@ Diese Anleitung ist nur für die Installation eines lokalen Agenten auf demselbe
104110 dokku storage:mount {{remote-agent}} /var/run/docker.sock:/var/run/docker.sock:ro
105111
106112 dokku config:set --no-restart {{remote-agent}} HUB_URL=" {{HUB_URL}}"
107- dokku config:set --no-restart {{remote-agent}} LISTEN=45876
113+ dokku config:set --no-restart {{remote-agent}} LISTEN=" {{LISTEN}} "
108114 dokku config:set --no-restart {{remote-agent}} KEY=" {{KEY}}"
109115 dokku config:set --no-restart {{remote-agent}} TOKEN=" {{TOKEN}}"
110116
@@ -113,6 +119,8 @@ Diese Anleitung ist nur für die Installation eines lokalen Agenten auf demselbe
113119
114120 # Image von Docker Hub ziehen und zuweisen
115121 dokku git:from-image {{remote-agent}} henrygd/beszel-agent:latest
122+
123+ # no letsencrypt for remote agent - security is done via the shared secret (KEY) and token
116124 ```
117125</TemplateCode >
118126
0 commit comments