Levelrail
Skip to content

Self-host Infisical with Docker ​

An open-source secrets manager to centralize API keys, database credentials, and app config.

This page describes the Levelrail template for Infisical (Security). It deploys the services below as one Docker Compose app on your own server.

Project site: https://infisical.com/docs/self-hosting/overview.

Recommended memory: about 512 MiB.

Services, ports and volumes ​

ServiceImageContainer portsVolumes
dbpostgres:16-alpinenone
infisical_db_data -> /var/lib/postgresql/data
infisicalinfisical/infisical:v0.154.68080none
redisredis:7-alpinenone
infisical_redis_data -> /data

Environment variables ​

ServiceVariableValue
dbPOSTGRES_DBPreset in the template
dbPOSTGRES_PASSWORDGenerated at deploy
dbPOSTGRES_USERPreset in the template
infisicalAUTH_SECRETGenerated at deploy
infisicalDB_CONNECTION_URIGenerated at deploy
infisicalENCRYPTION_KEYGenerated at deploy
infisicalREDIS_URLPreset in the template
infisicalSITE_URLPreset in the template

Passwords and keys marked as generated are created for you when the app is deployed and stored as secrets. Values are not shown here.

Deploy Infisical with Levelrail ​

In the dashboard, open Apps, choose New app, then Browse templates, and select Infisical. Review the Compose body and deploy.

With the CLI:

levelrail-cli templates deploy infisical --name my-infisical

See Service template catalog for how templates work, and Getting started if you have not installed Levelrail yet.

More Security templates ​

All templates are listed in the self-host gallery.

Released under the Apache 2.0 License.