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.

fix: unsend template

Simon59e37e14568d
diff --git a/templates/compose/unsend.yaml b/templates/compose/unsend.yaml
index 649b7f7047..bb56680387 100644
--- a/templates/compose/unsend.yaml
+++ b/templates/compose/unsend.yaml
@@ -35,6 +35,8 @@ services:
unsend:
image: unsend/unsend:latest
+ ports:
+ - "3000:3000"
environment:
- SERVICE_FQDN_UNSEND_3000
- DATABASE_URL=postgresql://${SERVICE_USER_POSTGRES}:${SERVICE_PASSWORD_POSTGRES}@postgres:5432/${SERVICE_DB_POSTGRES:-unsend}
@@ -48,13 +50,14 @@ services:
- REDIS_URL=redis://redis:6379
- NEXT_PUBLIC_IS_CLOUD=${NEXT_PUBLIC_IS_CLOUD:-false}
- API_RATE_LIMIT=${API_RATE_LIMIT:-1}
+ - HOSTNAME=0.0.0.0
depends_on:
postgres:
condition: service_healthy
redis:
condition: service_healthy
healthcheck:
- test: [ "CMD-SHELL", "wget -qO- http://127.0.0.1:3000 || exit 1" ]
+ test: [ "CMD-SHELL", "wget -qO- http://unsend:3000 || exit 1" ]
interval: 5s
retries: 10
timeout: 2s