feat: prepare TypeORM support for Postgres db calls

This commit is contained in:
2025-12-01 01:48:24 +01:00
parent 7dd1025aef
commit 56975a0e92
12 changed files with 2970 additions and 0 deletions

13
.env.default Normal file
View File

@@ -0,0 +1,13 @@
# TypeORM specific
# Please make sure these match with docker-compose.yml, or your own postgres server.
PG_USER=kitty
PG_PASS=CHANGEME
PG_HOST=127.0.0.1
PG_PORT=5432
PG_DB=kittyurl
# Site info
PUBLIC_URL=https://example.com # Publicly accessible website root, used for rewrites. Note there is no trailing slash in the URL.
IS_PROXIED=false # Set to `true` if behind a reverse proxy, like apache/nginx.
USE_SUBDOMAINS=true # Whether to use subdomains for URL generation.
DEBUG=false # Set to `false` to disable some features not meant to be seen publicly (like swagger documentation).