
Deploy Flagsmith on Your Own Server
Flagsmith - an open source, fully featured, Feature Flag and Remote Config service. Use our hosted API, deploy to your own private cloud, or run on-premise.
Want to deploy Flagsmith on your server faster? Try Senate with one-command setup, automatic HTTPS and monitoring.
What is Flagsmith?
Flagsmith - an open source, fully featured, Feature Flag and Remote Config service. Use our hosted API, deploy to your own private cloud, or run on-premise. For more info visit https://flagsmith.com/
Self-Host Flagsmith
Follow these steps to deploy on your own server.
Install Docker
Skip this step if Docker is already installed on your server.
curl -fsSL https://get.docker.com | sh
Configure
Customize the settings below. Defaults work for most cases.
Deploy
Copy the configuration and run it on your server.
services:
flagsmith:
image: flagsmith/flagsmith:2.14.3
environment:
DATABASE_URL: postgres://flagsmith:7b094abbdcad00e4@flagsmith-db/flagsmith?sslmode=disable
DJANGO_ALLOWED_HOSTS: "*"
depends_on:
- flagsmith-db
flagsmith-db:
image: postgres:13.1
environment:
POSTGRES_DB: flagsmith
POSTGRES_PASSWORD: 7b094abbdcad00e4
POSTGRES_USER: flagsmith
volumes:
- flagsmith-db-data:/var/lib/postgresql/data
volumes:
flagsmith-db-data: {}
Then run:
docker compose up -d
Access
Once started, access your app at http://localhost:8000
Why Self-Host Flagsmith?
Full Data Ownership
Your data stays on your servers. No third-party access.
No Monthly Fees
Pay only for your server. No per-seat or usage charges.
Complete Control
Customize, backup, and scale on your own terms.
Privacy & Compliance
Meet GDPR, HIPAA, or internal security requirements.
Technical Details
Docker Image
flagsmith/flagsmith:${flagsmith_tag}Want to go faster?
Try Senate! Senate handles Docker, HTTPS, updates, and monitoring for you. Deploy any of our 300+ apps with a single command.
Install on any Linux server:
sh -c "$(curl -sSL https://get.senate.sh)"