Infisical is a modern, open-source secret manager for developers — think self-hosted Doppler or Vault, but simpler and actually enjoyable to use.
In this guide, I’ll show you how to deploy Infisical using Docker on any Linux server (Ubuntu, Debian, etc.), configure your environment, and keep your setup online and secure with uptime monitoring.
Let’s go 👇
🧰 What You’ll Need
- A Linux server (Debian/Ubuntu preferred)
- Docker & Docker Compose installed
- A domain + SSL (optional but recommended)
- 10 minutes
🚀 Step 1: Clone the Infisical Repo
git clone https://github.com/infisical/infisical.git
cd infisical/self-host
⚙️ Step 2: Configure the .env File
Copy the example file:
cp .env.template .env
Edit values in .env
to match your setup. At minimum, update:
NODE_ENV=production
ENCRYPTION_KEY=generate-strong-key
DATABASE_URL=postgresql://infisical:password@db:5432/infisical
You can generate a strong encryption key with:
openssl rand -hex 32
🛢️ Step 3: Set Up Docker Compose
Infisical includes a ready-to-use docker-compose.yml
. Just run:
docker compose up -d
This launches:
- The Infisical server
- A PostgreSQL database
- A Redis cache
After a few seconds, your instance should be available at:
http://your-server-ip:8080
or your custom domain.
🌐 Step 4: Add HTTPS and a Domain (Optional)
Use a reverse proxy (Caddy, Nginx, Traefik) to expose Infisical securely:
- Point
secrets.yourdomain.com
to your VPS - Use Let’s Encrypt for SSL
- Proxy port
8080
to HTTPS
🧪 Step 5: Login & Create Your First Project
Head to the web UI → sign up → create your first workspace.
Infisical lets you securely store .env
variables, share secrets between team members, and integrate into CI/CD pipelines.
✅ Step 6: Add Monitoring with Garmingo Status
Your secrets system is now live. But what happens when it goes down?
💡 Secret managers are core infra. Downtime = deploys break, apps crash, teams blocked.
Here’s how to make sure that never happens:
- Create a free account at Garmingo Status
- Add a monitor for your Infisical URL (
https://secrets.yourdomain.com
) - Set alerting to Slack, Email, Telegram, Discord, or Webhooks
- (Optional) Create a private status page for internal visibility
You’ll get:
- Realtime alerts
- Incident logs
- SLA tracking
- Monthly uptime reports
- Peace of mind
🧘 TL;DR
- ✅ Clone Infisical
- ⚙️ Configure .env + secrets
- 🚀 Run with Docker
- 🔐 Secure with HTTPS
- 📈 Monitor with Garmingo Status
Managing secrets is serious business — treat it like core infrastructure.
Top comments (0)