Skip to content

An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.

Add app URLs

Blue Mouseb289f7cbd2d1
diff --git a/templates/compose/swetrix.yaml b/templates/compose/swetrix.yaml
index 216d333b53..f302ae8575 100644
--- a/templates/compose/swetrix.yaml
+++ b/templates/compose/swetrix.yaml
@@ -11,8 +11,8 @@ services:
depends_on:
- swetrix-api
environment:
- # Required - public URL of the API service (e.g. https://swetrix-api.example.com)
- - API_URL=${API_URL:?}
+ - SERVICE_URL_SWETRIX_3000
+ - API_URL=$SERVICE_URL_SWETRIXAPI_5005
healthcheck:
test:
- CMD-SHELL
@@ -27,6 +27,7 @@ services:
environment:
# Required
- SECRET_KEY_BASE=$SERVICE_BASE64_64_SECRETKEYBASE
+ - SERVICE_URL_SWETRIXAPI_5005
# Optional
- DISABLE_REGISTRATION=${DISABLE_REGISTRATION:-false}