feat: multiple database and user in postgres

This commit is contained in:
Pierre Tellier
2025-02-11 11:07:45 +01:00
parent d2cc3e00e1
commit eed4e6f855
10 changed files with 90 additions and 29 deletions

5
postgres/Dockerfile Normal file

@ -0,0 +1,5 @@
FROM postgres:latest
# Custom initialization scripts
COPY ./create_user.sh /docker-entrypoint-initdb.d/10-create_user.sh
COPY ./create_db.sh /docker-entrypoint-initdb.d/20-create_db.sh