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 unleash service without database

Dinip5a34fe4704f2
diff --git a/templates/compose/unleash-without-database.yaml b/templates/compose/unleash-without-database.yaml
new file mode 100644
index 0000000000..2cb49a46e2
--- /dev/null
+++ b/templates/compose/unleash-without-database.yaml
@@ -0,0 +1,26 @@
+# documentation: https://docs.getunleash.io
+# slogan: Unleash: Open source feature flag management for enterprises
+# tags: unleash,feature flags,feature toggles,ab testing,open source
+# logo: svgs/unleash.svg
+# port: 4242
+
+services:
+ unleash:
+ image: 'unleashorg/unleash-server:latest'
+ environment:
+ - SERVICE_FQDN_UNLEASH_4242
+ - UNLEASH_URL=${SERVICE_FQDN_UNLEASH}
+ - DATABASE_URL=${DATABASE_URL}
+ - DATABASE_SSL=${DATABASE_SSL:-false}
+ - LOG_LEVEL=warn
+ - INIT_FRONTEND_API_TOKENS=default:default:development.unleash-insecure-frontend-api-token
+ - INIT_CLIENT_API_TOKENS=default:development.unleash-insecure-api-token
+ command:
+ - node
+ - index.js
+ healthcheck:
+ test: 'wget --no-verbose --tries=1 --spider http://localhost:4242/health || exit 1'
+ interval: 1s
+ timeout: 1m
+ retries: 5
+ start_period: 15s
\ No newline at end of file