Skip to content

Commit

Permalink
Change server to log JSON by default
Browse files Browse the repository at this point in the history
  • Loading branch information
sunsided committed Feb 25, 2023
1 parent 36d1fce commit 1adf81c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ WORKDIR /app
COPY README.md .
COPY CHANGELOG.md .

ENV HTTP_SERVER_LOG_STYLE=json
ENV HTTP_SERVER_BIND_ADDRESS=0.0.0.0:80

EXPOSE 80
Expand Down
1 change: 1 addition & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ services:
environment:
GRPC_SERVER_CONNECT_ADDRESS: "example:11000"
GRPC_SERVER_CONNECT_SCHEME: "http"
HTTP_SERVER_LOG_STYLE: "simple"
ports:
- "8080:80"

Expand Down

0 comments on commit 1adf81c

Please sign in to comment.