mirror of
https://github.com/replicatedhq/ttl.sh.git
synced 2026-02-14 08:49:51 +00:00
1.4 KiB
1.4 KiB
Deploying ttl.sh manually
Hetzner Resources via Terraform
- Doppler is installed and authenticated for use with the
ttl-shproject a. Have a validDOPPLER_TOKENfromttl-shset b.echo $DOPPLER_TOKEN | doppler configure set token --scope / - Export necessary doppler values to ENVs
a.
export HCLOUD_TOKEN=$(doppler secrets get HCLOUD_TOKEN --plain)b.export AWS_ACCESS_KEY_ID=$(doppler secrets get HCLOUD_S3_ACCESS_KEY --plain)c.export AWS_SECRET_ACCESS_KEY=$(doppler secrets get HCLOUD_S3_SECRET_KEY --plain) cd terraformterraform plana. Make sure plan looks as expectedterraform applya. approve withyes- Successful run states
Apply complete!
NOTE: For extra keys to be associated they must be added in the ttl-sh project. This is crucial to enable proper execution of installers.
Build ttl.sh Docker images
- Docker and Docker Compose are installed
gcloudCLI is installed and authenticatedgcloud auth configure-docker us-east4-docker.pkg.dev./build-and-push.sh
Server Setup and ttl.sh workloads
- Doppler is installed and authenticated for use with the
ttl-shproject a. Have a validDOPPLER_TOKENfromttl-shset b.echo $DOPPLER_TOKEN | doppler configure set token --scope / cd ansible./ansible.sh- Successful run indicates approximately the following:
a.
ok=42 changed=6 unreachable=0 failed=0 skipped=3