Compare commits
No commits in common. "a6a5fc14f01c82b2232645cb45df6b8f2fbbbf7f" and "521d04ee88e2cf58837a63c31428413355788c62" have entirely different histories.
a6a5fc14f0
...
521d04ee88
@ -6,8 +6,6 @@ services:
|
||||
networks:
|
||||
- common-infra-nginx-development
|
||||
- clickhouse-development
|
||||
environment:
|
||||
CLICKHOUSE_PASSWORD: $CLICKHOUSE_PASSWORD_DEV
|
||||
deploy:
|
||||
mode: replicated
|
||||
restart_policy:
|
||||
|
@ -38,6 +38,4 @@ jobs:
|
||||
with:
|
||||
ref: dev
|
||||
- name: deploy
|
||||
env:
|
||||
CLICKHOUSE_PASSWORD_DEV: ${{ secrets.CLICKHOUSE_PASSWORD_DEV }}
|
||||
run: docker stack deploy --with-registry-auth -c ./.deploy/deploy-dev.yaml infra-development
|
||||
|
@ -3,7 +3,6 @@ package storage
|
||||
import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
|
||||
"github.com/ClickHouse/clickhouse-go/v2"
|
||||
"github.com/ClickHouse/clickhouse-go/v2/lib/driver"
|
||||
@ -28,7 +27,6 @@ func connect() (*driver.Conn, error) {
|
||||
Auth: clickhouse.Auth{
|
||||
Database: "monitoring",
|
||||
Username: "default",
|
||||
Password: os.Getenv("CLICKHOUSE_PASSWORD"),
|
||||
},
|
||||
TLS: nil,
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user