mirror of
https://github.com/suitenumerique/docs
synced 2026-05-24 09:28:25 +00:00
In development environment we wanto tu use the application with a postgres user not having superuser role. The migration 0027 needs superuser role to be executed, so we want to be able to test migrations and other scenarios with a normal user. In order to create this user, the compose service must be deleted first and then recreated with DB_USER and DB_PASSWORD environment variable values different with POSTGRES_USER and POSTGRES_PASSWORD
16 lines
385 B
Text
16 lines
385 B
Text
# Postgresql db container configuration
|
|
POSTGRES_DB=impress
|
|
POSTGRES_USER=dinum
|
|
POSTGRES_PASSWORD=pass
|
|
|
|
# App database configuration
|
|
DB_HOST=postgresql
|
|
DB_NAME=impress
|
|
DB_USER=dinum
|
|
DB_PASSWORD=pass
|
|
DB_PORT=5432
|
|
|
|
# If you want to create a user without superuser permissions, you can change it.
|
|
# The database must be deleted in order to be recreated.
|
|
# DB_USER=docs
|
|
# DB_PASSWORD=docs
|