fix: move all hardcoded secrets to .env files and create examples
This commit is contained in:
parent
11b7c14dc7
commit
7cfd2dd352
8 changed files with 16 additions and 15 deletions
1
server/env_files/api.env.example
Normal file
1
server/env_files/api.env.example
Normal file
|
|
@ -0,0 +1 @@
|
|||
DATABASE_URI='postgresql://simugaz_api:changeme@db/simugaz'
|
||||
1
server/env_files/consumer.env.example
Normal file
1
server/env_files/consumer.env.example
Normal file
|
|
@ -0,0 +1 @@
|
|||
DATABASE_URI='postgresql://simugaz_consumer:changemetoo@db/simugaz'
|
||||
3
server/env_files/db.env.example
Normal file
3
server/env_files/db.env.example
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
POSTGRES_USER=simugaz
|
||||
POSTGRES_PASSWORD=simugaz
|
||||
POSTGRES_DB=simugaz
|
||||
2
server/env_files/pgadmin.env.example
Normal file
2
server/env_files/pgadmin.env.example
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
PGADMIN_DEFAULT_EMAIL=admin@example.com
|
||||
PGADMIN_DEFAULT_PASSWORD=changeme
|
||||
Loading…
Add table
Add a link
Reference in a new issue