mirror of
https://github.com/Dokploy/templates.git
synced 2026-06-15 20:25:24 +02:00
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:
49
blueprints/unleash/docker-compose.yml
Normal file
49
blueprints/unleash/docker-compose.yml
Normal 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:
|
||||
17
blueprints/unleash/template.toml
Normal file
17
blueprints/unleash/template.toml
Normal 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}"
|
||||
BIN
blueprints/unleash/unleash.png
Normal file
BIN
blueprints/unleash/unleash.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 3.2 KiB |
18
meta.json
18
meta.json
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user