Docker Compose
Self-hosting with docker-compose.
Last updated
Was this helpful?
Self-hosting with docker-compose.
Last updated
Was this helpful?
Install git, zip
Instructions for Linux OSes:
Clone the code using git:
Go to docker
folder:
Every commands in this tutorial must be run in flow-backend/docker
folder.
Our Docker Compose setup needs 2 configuration files, both are located in flow-backend/docker
folder:
.env
: dotenv file containing environment variables
.config.toml
: configuration file used by flow-server.
Template for these files are in env.example
and flow-server-config.toml
.
Generate secrets and config files for your server:
Generated secrets are saved in .env
and .config.toml
files.
The script use env.example
and flow-server-config.toml
as templates, you can edit them before running the script to customize values.
Start and wait for containers to be ready:
Port binding:
Supabase: port 8000
Flow server: port 8080
PostgreSQL: port 5432
To see Supabase Dashboard:
Open .env
file to see DASHBOARD_USERNAME
and DASHBOARD_PASSWORD
values:
To stop services:
Stop and clean up all data:
Visit .
Follow steps from