Skip to content

Commit

Permalink
no prod/env mix
Browse files Browse the repository at this point in the history
  • Loading branch information
hdser committed Oct 18, 2024
1 parent 815b5ad commit c8b666d
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 45 deletions.
15 changes: 10 additions & 5 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,16 @@ services:
CLICKHOUSE_URL: ${CLICKHOUSE_URL}
CLICKHOUSE_PORT: ${CLICKHOUSE_PORT}
CLICKHOUSE_SECURE: ${CLICKHOUSE_SECURE}
CLICKHOUSE_ENV_USER: ${CLICKHOUSE_ENV_USER}
CLICKHOUSE_ENV_PASSWORD: ${CLICKHOUSE_ENV_PASSWORD}
CLICKHOUSE_ENV_URL: ${CLICKHOUSE_ENV_URL}
CLICKHOUSE_ENV_PORT: ${CLICKHOUSE_ENV_PORT}
CLICKHOUSE_ENV_SECURE: ${CLICKHOUSE_ENV_SECURE}
CLICKHOUSE_DEV_USER: ${CLICKHOUSE_DEV_USER}
CLICKHOUSE_DEV_PASSWORD: ${CLICKHOUSE_DEV_PASSWORD}
CLICKHOUSE_DEV_URL: ${CLICKHOUSE_DEV_URL}
CLICKHOUSE_DEV_PORT: ${CLICKHOUSE_DEV_PORT}
CLICKHOUSE_DEV_SECURE: ${CLICKHOUSE_DEV_SECURE}
CLICKHOUSE_PROD_USER: ${CLICKHOUSE_PROD_USER}
CLICKHOUSE_PROD_PASSWORD: ${CLICKHOUSE_PROD_PASSWORD}
CLICKHOUSE_PROD_URL: ${CLICKHOUSE_PROD_URL}
CLICKHOUSE_PROD_PORT: ${CLICKHOUSE_PROD_PORT}
CLICKHOUSE_PROD_SECURE: ${CLICKHOUSE_PROD_SECURE}
POSTGRES_URL: ${POSTGRES_URL}
POSTGRES_PORT: ${POSTGRES_PORT}
POSTGRES_USER: ${POSTGRES_USER}
Expand Down
13 changes: 0 additions & 13 deletions macros/db/flexible_source.sql

This file was deleted.

28 changes: 1 addition & 27 deletions profiles.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,30 +22,4 @@ gnosis_dbt:
user: "{{ env_var('POSTGRES_USER') }}"
password: "{{ env_var('POSTGRES_PASSWORD') }}"
port: "{{ env_var('POSTGRES_PORT', '5432') | int }}"
threads: 80

ch_valtrack:
type: clickhouse
schema: "valtrack"
verify: False
host: "{{ env_var('CLICKHOUSE_URL') }}"
port: "{{ env_var('CLICKHOUSE_PORT', '8123') | int }}"
secure: "{{ (env_var('CLICKHOUSE_SECURE', 'False') | lower) == 'true' }}"
user: "{{ env_var('CLICKHOUSE_USER') }}"
password: "{{ env_var('CLICKHOUSE_PASSWORD') }}"
threads: 40
connect_timeout: 60
read_timeout: 3000

ch_goteth:
type: clickhouse
schema: "goteth"
verify: False
host: "{{ env_var('CLICKHOUSE_URL') }}"
port: "{{ env_var('CLICKHOUSE_PORT', '8123') | int }}"
secure: "{{ (env_var('CLICKHOUSE_SECURE', 'False') | lower) == 'true' }}"
user: "{{ env_var('CLICKHOUSE_USER') }}"
password: "{{ env_var('CLICKHOUSE_PASSWORD') }}"
threads: 40
connect_timeout: 60
read_timeout: 3000
threads: 80

0 comments on commit c8b666d

Please sign in to comment.