minor tweaks to postgres local development.
This commit is contained in:
parent
8bf3415c34
commit
0e26f46a05
|
@ -1,4 +1,4 @@
|
||||||
#psql -h localhost -U postgres -d postgres
|
#psql -h localhost -U postgres -d postgres
|
||||||
#psql -h localhost -U crc_user -d crc_test
|
#psql -h localhost -U crc_user -d crc_test
|
||||||
#psql -h localhost -U crc_user -d crc_dev
|
#psql -h localhost -U crc_user -d crc_dev
|
||||||
docker exec -it postgres_db_1 psql -U crc_user crc_dev
|
docker exec -it postgres-db-1 psql -U crc_user crc_dev
|
||||||
|
|
|
@ -7,8 +7,8 @@ services:
|
||||||
ports:
|
ports:
|
||||||
- 5432:5432
|
- 5432:5432
|
||||||
environment:
|
environment:
|
||||||
- POSTGRES_USER=${DB_USER}
|
- POSTGRES_USER=crc_user
|
||||||
- POSTGRES_PASSWORD=${DB_PASS}
|
- POSTGRES_PASSWORD=crc_pass
|
||||||
- POSTGRES_MULTIPLE_DATABASES=crc_dev,crc_test,pb,pb_test
|
- POSTGRES_MULTIPLE_DATABASES=crc_dev,crc_test,pb,pb_test
|
||||||
- TZ=America/New_York
|
- TZ=America/New_York
|
||||||
- PGTZ=America/New_York
|
- PGTZ=America/New_York
|
Loading…
Reference in New Issue