Add docker

This commit is contained in:
Evgenii Saenko
2025-12-17 11:52:18 +03:00
parent 2d5b329b36
commit ea390b1533
38 changed files with 1359 additions and 165 deletions

12
db/init-db.sh Executable file
View File

@@ -0,0 +1,12 @@
#!/bin/bash
set -euo pipefail
echo "Restoring database from seed.dump..."
pg_restore \
--clean \
--if-exists \
--no-acl \
--no-owner \
-U "${POSTGRES_USER}" \
-d "${POSTGRES_DB}" \
"/docker-entrypoint-initdb.d/seed.dump"

BIN
db/seed.dump Normal file

Binary file not shown.