feat: multiple database and user in postgres
All checks were successful
CI / build (push) Successful in 11s

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

View File

@ -1,11 +1,14 @@
services:
postgres:
image: postgres:latest
env_file: .env
build:
context: postgres/
dockerfile: Dockerfile
container_name: MyINPulse-DB
#ports:
# - 5432:5432
volumes:
- ./postgres:/var/lib/postgresql/data
- ./postgres/data:/var/lib/postgresql/data
environment:
POSTGRES_DB: ${POSTGRES_DB}
POSTGRES_USER: ${POSTGRES_USER}