Something went wrong. Try again.
The Swiss army knife of code time tracking. ziit.app
Something went wrong. Try again.
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354services: app: image: ghcr.io/0pandadev/ziit:v1.2.2 ports: - "3000:3000" environment: ZIIT_DATABASE_URL: "postgresql://postgres:CHANGEME@postgres:5432/ziit" # change the password for production use ZIIT_PASETO_KEY: "" # RUN THIS COMMAND IN YOUR TERMINAL AND USE THE OUTPUT -> echo k4.local.$(openssl rand -base64 32) ZIIT_ADMIN_KEY: "" # This is the password for the admin dashboard. RUN THIS COMMAND IN YOUR TERMINAL AND USE THE OUTPUT -> openssl rand -hex 64 ZIIT_BASE_URL: "" # Base URL of the Ziit instance, including protocol e.g. https://ziit.example.com ZIIT_DISABLE_REGISTRATION: false # By default users are allowed to register a new account ZIIT_TRUST_PROXY: 0 # number of reverse proxies in front of Ziit (e.g. 1 behind nginx/caddy), leave 0 if exposed directly ZIIT_GITHUB_CLIENT_ID: "" # client id https://docs.ziit.app/deploy/github-oauth ZIIT_GITHUB_CLIENT_SECRET: "" # client secret https://docs.ziit.app/deploy/github-oauth ZIIT_EPILOGUE_APP_ID: "" # application id https://docs.ziit.app/deploy/epilogue-oauth ZIIT_EPILOGUE_APP_SECRET: "" # application secret https://docs.ziit.app/deploy/epilogue-oauth restart: unless-stopped depends_on: postgres: condition: service_healthy networks: - ziit-network
postgres: image: timescale/timescaledb-ha:pg17 restart: unless-stopped environment: POSTGRES_USER: postgres POSTGRES_PASSWORD: CHANGEME # change this for production use POSTGRES_DB: ziit PGDATA: /var/lib/postgresql/data volumes: - postgres:/var/lib/postgresql/data post_start: - command: chown -R 1000:1000 /var/lib/postgresql/data user: root networks: ziit-network: aliases: - postgres healthcheck: test: ["CMD-SHELL", "pg_isready -U postgres -d ziit"] interval: 10s timeout: 5s retries: 5 start_period: 10s
volumes: postgres:
networks: ziit-network: driver: bridge