embedded psql

This commit is contained in:
Priec
2026-08-14 12:11:17 +02:00
parent 36495bc77d
commit 5ddf8c4cde
5 changed files with 317 additions and 20 deletions

View File

@@ -1,8 +1,16 @@
DATABASE_URL="postgres://multi_psql_dev:3@localhost:5432/multi_rust_dev"
RUST_DB_NAME=multi_rust_dev
RUST_DB_USER=multi_psql_dev
RUST_DB_PASSWORD=3
RUST_DB_HOST=localhost
RUST_DB_PORT=5432
# The default build uses its bundled PostgreSQL. These optional values show the
# defaults; KOMP_AC_POSTGRES_DIR can move its persistent installation and data.
RUST_DB_MODE=embedded
# RUST_DB_NAME=komp_ac
# RUST_DB_USER=postgres
# RUST_DB_PASSWORD=
# RUST_DB_HOST=127.0.0.1
# RUST_DB_PORT=5433
# KOMP_AC_POSTGRES_DIR=/var/lib/komp_ac/postgresql
# For a separately managed database, set RUST_DB_MODE=external and provide all
# five RUST_DB_* connection settings. DATABASE_URL is only used by development
# tools and tests; the server reads RUST_DB_*.
# DATABASE_URL="postgres://multi_psql_dev:password@localhost:5432/multi_rust_dev"
JWT_SECRET=<YOUR-JWT-HERE>