Skip to content

Instantly share code, notes, and snippets.

@blockpane
Created January 22, 2023 01:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save blockpane/5c5afb81eea72a8d0bc2ab69ec604e7e to your computer and use it in GitHub Desktop.
Save blockpane/5c5afb81eea72a8d0bc2ab69ec604e7e to your computer and use it in GitHub Desktop.
TDv2 on Akash
docker pull ghcr.io/blockpane/tenderduty:v2.1.1-hf1
docker run --rm -ti ghcr.io/blockpane/tenderduty:v2.1.1-hf1 -h
docker run --rm -ti -v $PWD:/var/lib/tenderduty ghcr.io/blockpane/tenderduty:v2.1.1-hf1 -encrypt
---
version: "2.0"
services:
td2:
image: ghcr.io/blockpane/tenderduty:<latest-release>
env:
- PASSWORD=<password>
- CONFIG=https://<your-server>/config.yml.asc
expose:
- port: 8888
as: 80
to:
- global: true
profiles:
compute:
td2:
resources:
cpu:
units: 1
memory:
size: 256Mi
storage:
size: 100Mi
placement:
dcloud:
attributes:
host: akash
pricing:
td2:
denom: uakt
amount: 1000
deployment:
td2:
dcloud:
profile: td2
count: 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment