Logo

Docker Compose

Quick deployment with Docker Compose

Docker Compose file

Download the docker-compose.yml file from the github repository.

Download using CLI
curl -o docker-compose.yml https://raw.githubusercontent.com/0PandaDEV/Ziit/refs/heads/main/docker-compose.yml

Configure Docker Compose

Edit the environment variables in the docker-compose.yml file to set your configuration values:

VariableDescription
NUXT_DATABASE_URLPostgreSQL connection string. Example: postgresql://postgres:CHANGEME@postgres:5432/ziit
NUXT_PASETO_KEYPASETO local key (Generate with echo k4.local.$(openssl rand -base64 32))
NUXT_ADMIN_KEYPassword for the admin dashboard (Generate with openssl rand -base64 64)
NUXT_BASE_URLBase URL of the Ziit instance, including protocol. Example: https://ziit.example.com
NUXT_DISABLE_REGISTRATIONDisable user registration
NUXT_GITHUB_CLIENT_IDGitHub OAuth client ID
NUXT_GITHUB_CLIENT_SECRETGitHub OAuth client secret
NUXT_EPILOGUE_APP_IDEpilogue OAuth application ID
NUXT_EPILOGUE_APP_SECRETEpilogue OAuth application secret

Be sure to replace the example values with your actual configuration details before proceeding.

Start Containers

Run the following command in your terminal:

Start Docker Compose
docker compose up -d

The application will be available at http://localhost:3000 (or your configured host/port).

Stop Containers

When needed, you can stop the containers with:

Stop Docker Compose
docker compose down
Docker Compose