Skip to content

Instantly share code, notes, and snippets.

@andy108369
Created September 6, 2022 15:23
Show Gist options
  • Save andy108369/665c3a1e9b2eb10bb81c855cf5d152a9 to your computer and use it in GitHub Desktop.
Save andy108369/665c3a1e9b2eb10bb81c855cf5d152a9 to your computer and use it in GitHub Desktop.
# app-stunnel-client.yml
# https://github.com/ovrclk/stunnel-proxy
---
version: "2.0"
services:
stunnel-client:
image: andrey01/stunnel-proxy:v0.0.1
env:
- PSK=RHFVUmtrQ0EyVFhVanlmVTJZZXgK
- STUNNEL_SERVICE_WEB_CLIENT=yes
- STUNNEL_SERVICE_WEB_ACCEPT=0.0.0.0:8080
- STUNNEL_SERVICE_WEB_CONNECT=provider.mainnet-1.ca.aksh.pw:30758
expose:
- port: 8080
as: 80
#accept:
# - "app.akash.pro"
to:
- global: true
profiles:
compute:
stunnel-client:
resources:
cpu:
units: 1
memory:
size: 512Mi
storage:
size: 512Mi
placement:
akash:
attributes:
host: akash
#region: europe
#datacenter: equinix-metal-ams1
signedBy:
anyOf:
- "akash1365yvmc4s7awdyj3n2sav7xfx76adc6dnmlx63"
pricing:
stunnel-client:
denom: uakt
amount: 100000
deployment:
stunnel-client:
akash:
profile: stunnel-client
count: 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment