Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions deploy/config.example.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,6 @@ agent:
listen: 127.0.0.1:43293 # reached from hetzner2's -fc-host-port via the tunnel (-R)
guest_url: http://10.0.2.2:43293
upstream: http://127.0.0.1:43295 # stagehand gateway-proxy on this host
events:
secret_file: /etc/stagehand/trigger.key # shared HMAC key for `serve --trigger-addr`, 0600
# max_payload_bytes: 67108864 # default 64 MiB
3 changes: 2 additions & 1 deletion deploy/stagehand.service
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ Wants=network-online.target stagehand-hetzner2-tunnel.service stagehand-gateway-
Type=simple
Environment=STAGEHAND_HOME=/var/lib/stagehand
Environment=STAGEHAND_CONFIG=/etc/stagehand/config.yaml
ExecStart=/usr/local/bin/stagehand serve --status-addr 127.0.0.1:8797
# --trigger-addr: event intake (loopback only; needs events.secret_file in the config).
ExecStart=/usr/local/bin/stagehand serve --status-addr 127.0.0.1:8797 --trigger-addr 127.0.0.1:8798
Restart=on-failure
RestartSec=10
# Stop sends SIGTERM: running stages are stopped and their runs parked as
Expand Down
Loading