hhctl CLI and Terraform provider for Hammerhead
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
commit
bf340cdab4
19 files changed
+2442
No files matched your search
@@ -0,0 +1,11 @@
|
||||
#!/bin/sh
|
||||
# Stand up an edge, a site, a domain and a web port with hhctl.
|
||||
# Needs HAMMERHEAD_URL and HAMMERHEAD_TOKEN (a server key) in the environment.
|
||||
set -eu
|
||||
|
||||
hhctl edges create --name fra --tunnel 203.0.113.5:51820
|
||||
hhctl sites create --name home --tag lab
|
||||
hhctl domains add --name example.com --edge fra
|
||||
hhctl ports create --name web --proto https --edge fra --port 443 \
|
||||
--hostname app.example.com --target home:192.168.1.30:8080
|
||||
hhctl ports list
|
||||
Reference in new issue
Block a user