Last active
September 6, 2022 15:23
-
-
Save andy108369/7be7b5564061b1a816e1d967a5a69714 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# app-stunnel-server.yml | |
# https://github.com/ovrclk/stunnel-proxy | |
--- | |
version: "2.0" | |
services: | |
app: | |
image: traefik/whoami | |
expose: | |
- port: 80 | |
as: 80 | |
to: | |
- service: stunnel | |
#accept: | |
# - "app.akash.pro" | |
#to: | |
# - global: true | |
stunnel-server: | |
image: andrey01/stunnel-proxy:v0.0.1 | |
env: | |
- PSK=RHFVUmtrQ0EyVFhVanlmVTJZZXgK | |
- STUNNEL_SERVICE_WEB_CLIENT=no | |
- STUNNEL_SERVICE_WEB_ACCEPT=8080 | |
- STUNNEL_SERVICE_WEB_CONNECT=app:80 | |
expose: | |
- port: 8080 | |
to: | |
- global: true | |
profiles: | |
compute: | |
app: | |
resources: | |
cpu: | |
units: 1 | |
memory: | |
size: 512Mi | |
storage: | |
size: 512Mi | |
stunnel-server: | |
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: | |
app: | |
denom: uakt | |
amount: 100000 | |
stunnel-server: | |
denom: uakt | |
amount: 100000 | |
deployment: | |
app: | |
akash: | |
profile: app | |
count: 1 | |
stunnel-server: | |
akash: | |
profile: stunnel-server | |
count: 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment