/ docker-compose.yml
docker-compose.yml
 1  services:
 2    app:
 3      image: ghcr.io/0pandadev/ziit:v1.0.2
 4      ports:
 5        - "3000:3000"
 6      environment:
 7        NUXT_DATABASE_URL: "postgresql://postgres:CHANGEME@postgres:5432/ziit" # change the password for production use
 8        NUXT_PASETO_KEY: "k4.local.OUTPUT_OF_OPENSSL_COMMAND" # -> openssl rand -base64 32
 9        NUXT_GITHUB_CLIENT_ID: "" # Github client id
10        NUXT_GITHUB_CLIENT_SECRET: "" # Github client secret
11        NUXT_GITHUB_REDIRECT_URI: "" # Your redirect url for the github auth e.g. https://ziit.example.com/api/auth/github/callback
12        NUXT_HOST: "" # The domain where ziit will be hosted e.g. ziit.example.com
13        NUXT_DISABLE_REGISTRATION: false # By default users are allowed to register a new account
14      restart: unless-stopped
15      depends_on:
16        - postgres
17      networks:
18        - ziit-network
19  
20    postgres:
21      image: timescale/timescaledb:latest-pg17
22      restart: unless-stopped
23      environment:
24        POSTGRES_USER: postgres
25        POSTGRES_PASSWORD: CHANGEME # change this for production use
26        POSTGRES_DB: ziit
27      volumes:
28        - postgres:/var/lib/postgresql/data
29      networks:
30        ziit-network:
31          aliases:
32            - postgres
33  
34  volumes:
35    postgres:
36  
37  networks:
38    ziit-network:
39      driver: bridge