Skip to content

Commit

Permalink
Minor changes in Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
vitalyisaev2 committed Feb 19, 2024
1 parent 275db3b commit 2cfd296
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Dockerfile.release
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ FROM ghcr.io/ydb-platform/fq-connector-go:base

LABEL org.opencontainers.image.source=https://github.com/ydb-platform/fq-connector-go

COPY app/server/config/config.debug.yaml /usr/local/etc/fq-connector-go.conf
COPY app/server/config/config.debug.yaml /usr/local/etc/fq-connector-go.yaml
COPY fq-connector-go /usr/local/bin/fq-connector-go

CMD ["/usr/local/bin/fq-connector-go", "server", "-c", "/usr/local/etc/fq-connector-go.conf"]
CMD ["/usr/local/bin/fq-connector-go", "server", "-c", "/usr/local/etc/fq-connector-go.yaml"]
5 changes: 5 additions & 0 deletions app/server/config/config.debug.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@ logger:
log_level: DEBUG
enable_sql_query_logging: true

metrics_server:
endpoint:
host: "0.0.0.0"
port: 8766

pprof_server:
endpoint:
host: "0.0.0.0"
Expand Down
2 changes: 1 addition & 1 deletion app/server/service_metrics.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ func newServiceMetrics(logger *zap.Logger, cfg *config.TMetricsServerConfig, reg
}

// TODO: TLS
logger.Warn("metrics server will use insecure connections")
logger.Warn("server will use insecure connections")

return &serviceMetrics{
httpServer: httpServer,
Expand Down

0 comments on commit 2cfd296

Please sign in to comment.