Skip to content

Commit

Permalink
fix: _URL to _HOST
Browse files Browse the repository at this point in the history
  • Loading branch information
hdser committed Nov 8, 2024
1 parent 04d31f3 commit b965b5a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .env.test
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ CLICKHOUSE_PROD_USER
CLICKHOUSE_PROD_PASSWORD
CLICKHOUSE_PROD_SECURE

POSTGRES_URL
POSTGRES_HOST
POSTGRES_PORT
POSTGRES_USER
POSTGRES_PASSWORD
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ services:
CLICKHOUSE_PROD_URL: ${CLICKHOUSE_PROD_URL}
CLICKHOUSE_PROD_PORT: ${CLICKHOUSE_PROD_PORT}
CLICKHOUSE_PROD_SECURE: ${CLICKHOUSE_PROD_SECURE}
POSTGRES_URL: ${POSTGRES_URL}
POSTGRES_HOST: ${POSTGRES_HOST}
POSTGRES_PORT: ${POSTGRES_PORT}
POSTGRES_USER: ${POSTGRES_USER}
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
Expand Down
2 changes: 1 addition & 1 deletion macros/db/postgres_queries.sql
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{% macro get_postgres(pg_db,table_name) %}
postgresql(
'{{ env_var("POSTGRES_URL", "postgres") }}:{{ env_var("POSTGRES_PORT", "5432") }}',
'{{ env_var("POSTGRES_HOST", "postgres") }}:{{ env_var("POSTGRES_PORT", "5432") }}',
'{{ pg_db }}',
'{{ table_name }}',
'{{ env_var("POSTGRES_USER") }}',
Expand Down

0 comments on commit b965b5a

Please sign in to comment.