Docker Compose
Docker Compose file
Download the docker-compose.yml file from the github repository.
Configure Docker Compose
Edit the environment variables in the docker-compose.yml
file to set your configuration values:
Environment Variable | Description | Example |
---|---|---|
NUXT_DATABASE_URL | Database connection string | postgresql://postgres:root@postgres:5432/ziit |
NUXT_PASETO_KEY | PASTEO local key | (Generate with echo k4.local.$(openssl rand -base64 32) ) |
NUXT_GITHUB_CLIENT_ID | GitHub OAuth client ID | your_github_client_id from the steps earlier |
NUXT_GITHUB_CLIENT_SECRET | GitHub OAuth client secret | your_github_client_secret from the steps earlier |
NUXT_GITHUB_REDIRECT_URI | GitHub OAuth redirect URL | https://ziit.exmaple.com/api/auth/github/callback |
NUXT_HOST | Domain where Ziit will be hosted | ziit.exmaple.com |
NUXT_DISABLE_REGISTRATION | Disable user registration | false |
Be sure to replace the example values with your actual configuration details before proceeding.
Build and Start Containers
Run the following command in your terminal:
The application will be available at http://localhost:3000
(or your configured host/port).