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