Skip to content

Instantly share code, notes, and snippets.

@OSCUK
Created February 12, 2025 13:17
Show Gist options
  • Save OSCUK/6f64663af514294c6ac2e572bb36b415 to your computer and use it in GitHub Desktop.
Save OSCUK/6f64663af514294c6ac2e572bb36b415 to your computer and use it in GitHub Desktop.
kutt
services:
server:
image: kutt/kutt:latest
restart: always
volumes:
- db_data_sqlite:/var/lib/kutt
- custom:/kutt/custom
environment:
DB_FILENAME: "/var/lib/kutt/data.sqlite"
REDIS_ENABLED: true
REDIS_HOST: redis
REDIS_PORT: 6379
JWT_SECRET: FtG345654545^453v6546554g65464556g35465661 #random string of characters
DEFAULT_DOMAIN: yourwebsite.com #no http or https
ports:
- 3000:3000
depends_on:
redis:
condition: service_started
redis:
image: redis:alpine
restart: always
expose:
- 6379
volumes:
db_data_sqlite:
custom:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment