Config

Zipline is primarily configured through environment variables. These can be set in a .env file in the root of the project, or through docker-compose.yml if using Docker.

Most of Zipline's settings are also configurable through the settings dashboard.

By default, only the DATABASE_URL and CORE_SECRET environment variables are required. The rest are optional and have default values.

Info

It is important that the CORE_SECRET is not easily guessable. This secret is used to sign website cookies, and should be kept private. If the secret is comprimised, it is recommended to change it immediately, as it can be used to gain unauthorized access to the website.

Example

.env
DATABASE_URL=postgresql://user:password@localhost:5432/zipline
CORE_SECRET="secret"
CORE_PORT=3000
CORE_HOSTNAME=0.0.0.0
DATASOURCE_TYPE=local
DATASOURCE_LOCAL_DIRECTORY=./uploads

Variables that are in the core, datasource, and ssl categories can ONLY be set through environment variables. The rest can be configured through the settings dashboard, or through environment variables that are documented in the settings page.



Last updated: Oct 4, 2025
Edit this page on GitHub