Skip to content

Instantly share code, notes, and snippets.

@balvinder294
Created June 24, 2021 11:32
Show Gist options
  • Save balvinder294/7436681b28e42a14aa038ca3daff85e4 to your computer and use it in GitHub Desktop.
Save balvinder294/7436681b28e42a14aa038ca3daff85e4 to your computer and use it in GitHub Desktop.
OpenSSH-Server deploy file for Akash De-Cloud using SDL https://docs.akash.network/reference/sdl
---
version: "2.0"
services:
web:
image: ghcr.io/linuxserver/openssh-server
expose:
- port: 2222
as: 80
to:
- global: true
env:
- PUID=1000
- PGID=1000
- TZ=America/Los_Angeles
- PUBLIC_KEY=publickey
- SUDO_ACCESS=false
- PASSWORD_ACCESS=true
- USER_PASSWORD=password
- USER_NAME=user
profiles:
compute:
web:
resources:
cpu:
units: 1
memory:
size: 1024Mi
storage:
size: 2048Mi
placement:
westcoast:
attributes:
datacenter: equinix-metal-ewr1
host: akash
signedBy:
anyOf: #optional
- "akash1365yvmc4s7awdyj3n2sav7xfx76adc6dnmlx63"
pricing:
web:
denom: uakt
amount: 1000 # max amount to pay per block get bid
deployment:
web:
westcoast:
profile: web
count: 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment