From 0e26f46a051755f944b264b3fcd871c6a160a8fb Mon Sep 17 00:00:00 2001 From: danfunk Date: Wed, 10 May 2023 11:49:34 -0400 Subject: [PATCH] minor tweaks to postgres local development. --- postgres/connect.sh | 2 +- postgres/docker-compose.yml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/postgres/connect.sh b/postgres/connect.sh index 4b539893..6d353cae 100755 --- a/postgres/connect.sh +++ b/postgres/connect.sh @@ -1,4 +1,4 @@ #psql -h localhost -U postgres -d postgres #psql -h localhost -U crc_user -d crc_test #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 diff --git a/postgres/docker-compose.yml b/postgres/docker-compose.yml index 0b226f21..3d020b82 100644 --- a/postgres/docker-compose.yml +++ b/postgres/docker-compose.yml @@ -7,8 +7,8 @@ services: ports: - 5432:5432 environment: - - POSTGRES_USER=${DB_USER} - - POSTGRES_PASSWORD=${DB_PASS} + - POSTGRES_USER=crc_user + - POSTGRES_PASSWORD=crc_pass - POSTGRES_MULTIPLE_DATABASES=crc_dev,crc_test,pb,pb_test - TZ=America/New_York - PGTZ=America/New_York \ No newline at end of file