feat: persist messenger data and sessions in PostgreSQL

This commit is contained in:
Artem
2026-12-04 20:56:56 +03:00
parent 65003b6119
commit 4abfcf2cd9
25 changed files with 1632 additions and 0 deletions
+10
View File
@@ -0,0 +1,10 @@
#!/bin/sh
set -eu
cd "$(dirname "$0")/.."
umask 077
if [ -e .env ]; then echo 'Using existing .env'; exit 0; fi
set -C
{
printf 'PG_PASS=%s\n' "$(openssl rand -hex 24)"
printf 'CACHE_PASS=%s\n' "$(openssl rand -hex 24)"
} > .env