feat: add unleash template (#691)

* feat: add unleash template

* feat: update unleash template to version 7.4.0 and fix formatting

* feat: update database user in unleash template from postgres to unleash
This commit is contained in:
Dipanda Aser
2026-03-05 07:27:26 +00:00
committed by GitHub
parent 8deb82ab52
commit ebb526b5ea
4 changed files with 84 additions and 0 deletions

View File

@@ -0,0 +1,49 @@
# The default users credentials are:
# Login: admin
# Password: unleash4all
# It is highly recommended to change the password after first login.
# More info: https://github.com/Unleash/unleash?tab=readme-ov-file#unleash-open-source
version: "3.8"
services:
unleash:
image: unleashorg/unleash-server:7.4.0
restart: unless-stopped
environment:
DATABASE_URL: "postgres://${DB_USER}:${DB_PASSWORD}@db/${DB_NAME}"
DATABASE_SSL: "false"
LOG_LEVEL: "warn"
depends_on:
db:
condition: service_healthy
healthcheck:
test: wget --no-verbose --tries=1 --spider http://localhost:4242/health || exit 1
interval: 1s
timeout: 1m
retries: 5
start_period: 15s
db:
image: postgres:15
restart: unless-stopped
environment:
POSTGRES_DB: "${DB_NAME}"
POSTGRES_USER: "${DB_USER}"
POSTGRES_PASSWORD: "${DB_PASSWORD}"
volumes:
- db_data:/var/lib/postgresql/data
healthcheck:
test:
[
"CMD",
"pg_isready",
"--username=${DB_USER}",
"--host=127.0.0.1",
"--port=5432",
]
interval: 2s
timeout: 1m
retries: 5
start_period: 10s
volumes:
db_data:

View File

@@ -0,0 +1,17 @@
[variables]
main_domain = "${domain}"
db_name = "unleash"
db_user = "unleash"
db_password = "${password:32}"
[config]
env = [
"DB_NAME=${db_name}",
"DB_USER=${db_user}",
"DB_PASSWORD=${db_password}"
]
[[config.domains]]
serviceName = "unleash"
port = 4242
host = "${main_domain}"

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

View File

@@ -6285,6 +6285,24 @@
"networking"
]
},
{
"id": "unleash",
"name": "Unleash",
"version": "7.4.0",
"description": "Open-source feature management platform",
"logo": "unleash.png",
"links": {
"github": "https://github.com/unleash/unleash",
"website": "https://www.getunleash.io/",
"docs": "https://docs.getunleash.io/"
},
"tags": [
"feature-flag",
"feature-management",
"feature-toggle",
"remote-configuration"
]
},
{
"id": "upsnap",
"name": "Upsnap",