---
title: "Unleash template"
description: "Feature flags with its own PostgreSQL database."
path: "/templates/unleash/"
---

# Unleash

Feature flags with its own PostgreSQL database.

One command creates the Unleash app and a PostgreSQL database, then connects them. The app gets a public address.

## Install

Run it in the environment you want. The command waits until the public address responds.

```
dflow templates:install unleash
```

One app and one PostgreSQL database.

## Application

- Name: unleash
- Image: unleashorg/unleash-server:8.3.1
- Port: 4242
- Replicas: 1
- Memory: 512 Mi
- Address: Public route

## Database

- Name: unleash-db
- Engine: PostgreSQL
- Database: unleash
- Storage: 1Gi

## How they connect

- The database host, port, name, user, and password come from unleash-db.
- The admin user is admin.
- dFlow generates UNLEASH_DEFAULT_ADMIN_PASSWORD and UNLEASH_SECRET.