Skip to content

Commit

Permalink
chore: update to include logs formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
psanders committed Dec 28, 2024
1 parent cd936bf commit 1010376
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .env.example
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
# General config
DOCKER_HOST_ADDRESS=/* Host address where the docker containers are running */
APP_URL=http://localhost:8080
ROOT_DOMAIN=fonoster.local
LOGS_LEVEL=verbose
LOGS_TRANSPORT=none
ROOT_DOMAIN=fonoster.local
LOGS_FORMAT=json

# Initial location owner credentials
# The server will create a new owner if the email does not exist
Expand Down
5 changes: 4 additions & 1 deletion compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,9 @@ services:
KNOWLEDGE_BASE_ENABLED: ${KNOWLEDGE_BASE_ENABLED}
UNSTRUCTURED_API_KEY: ${UNSTRUCTURED_API_KEY}
UNSTRUCTURED_API_URL: ${UNSTRUCTURED_API_URL}
LOGS_LEVEL: ${LOGS_LEVEL}
LOGS_FORMAT: ${LOGS_FORMAT}
LOGS_TRANSPORT: ${LOGS_TRANSPORT}

routr:
image: fonoster/routr-one:latest
Expand All @@ -67,6 +70,7 @@ services:
EXTERNAL_ADDRS: ${DOCKER_HOST_ADDRESS}
LOGS_LEVEL: ${LOGS_LEVEL}
LOGS_TRANSPORT: ${LOGS_TRANSPORT}
LOGS_FORMAT: ${LOGS_FORMAT}
RTPENGINE_HOST: ${ROUTR_RTPENGINE_HOST}
NATS_PUBLISHER_ENABLED: "true"
NATS_PUBLISHER_URL: ${NATS_URL}
Expand Down Expand Up @@ -144,7 +148,6 @@ services:
DOCKER_INFLUXDB_INIT_ORG: ${INFLUXDB_INIT_ORG}
DOCKER_INFLUXDB_INIT_BUCKET: calls
DOCKER_INFLUXDB_INIT_ADMIN_TOKEN: ${INFLUXDB_INIT_TOKEN}
INFLUXD_LOG_LEVEL: ${LOGS_LEVEL}
volumes:
- influxdb:/var/lib/influxdb2

Expand Down

0 comments on commit 1010376

Please sign in to comment.