Skip to content

Commit

Permalink
fixed: Clickhouse ERRCONNECT
Browse files Browse the repository at this point in the history
  • Loading branch information
Blaumaus committed May 17, 2023
1 parent 8dc2092 commit f7837f5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions docker-compose-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ services:
# This is the analytics API
swetrix-api:
image: swetrix/swetrix-api:latest
container_name: swetrix-api
restart: always
ports:
- '8080:5005'
Expand Down Expand Up @@ -79,6 +80,7 @@ services:
- swetrix-users-data:/var/lib/mysql
clickhouse:
image: clickhouse/clickhouse-server:23.4.2.11-alpine
container_name: clickhouse
environment:
- CLICKHOUSE_DATABASE=analytics
- CLICKHOUSE_USER=default
Expand Down
4 changes: 3 additions & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,14 @@ services:
swetrix-api:
image: swetrix/swetrix-api:2.0.0
restart: always
container_name: swetrix-api
ports:
- '8080:5005'
environment:
- JWT_ACCESS_TOKEN_SECRET=jwt-access-token-secret
- JWT_REFRESH_TOKEN_SECRET=jwt-refresh-token-secret
- REDIS_HOST=redis
- CLICKHOUSE_HOST=http://localhost
- CLICKHOUSE_HOST=http://clickhouse
- API_ORIGINS=
- EMAIL=test@test.com
- PASSWORD=12345678
Expand All @@ -46,6 +47,7 @@ services:
# - '/opt/redis-volume:/data'
clickhouse:
image: clickhouse/clickhouse-server:23.4.2.11-alpine
container_name: clickhouse
environment:
- CLICKHOUSE_DATABASE=analytics
- CLICKHOUSE_USER=default
Expand Down

0 comments on commit f7837f5

Please sign in to comment.