Skip to content

Commit

Permalink
chore: updated config.yaml.example
Browse files Browse the repository at this point in the history
This now matches the latest version of the auth microservice
  • Loading branch information
AntonioRodriguezRuiz authored Dec 1, 2024
1 parent 2adac13 commit f4a5916
Showing 1 changed file with 15 additions and 5 deletions.
20 changes: 15 additions & 5 deletions config.yaml.example
Original file line number Diff line number Diff line change
@@ -1,18 +1,28 @@
---
api_gateway_url: "0.0.0.0:8080"
is_https: false
authorization_api_url: "http://localhost:3001/auth/api/v1/validate"
services:
- path: "/auth/api/v1"
authorization_api_url: "http://localhost:3001/api/v1/validate"
- path: "/api/v1/validate"
target_service: "http://localhost"
target_port: "3001"
- path: "/api/v1/login"
target_service: "http://localhost"
target_port: "3001"
- path: "/api/v1/logout"
target_service: "http://localhost"
target_port: "3001"
- path: "/api/v1/users"
target_service: "http://localhost"
target_port: "3001"
endpoints_without_auth:
- endpoint: "/auth/api/v1/login"
- endpoint: "/api/v1/users/verify-2fa"
method: "POST"
- endpoint: "/api/v1/login"
method: "POST"
logger_config:
use_kafka: true # If false, delete also kafka_host
kafka_host: "localhost:9092"
kafka_topic: "microservice-logs"
kafka_topic: "gateway-logs"
out_file: "logs/out.log"
err_file: "logs/err.log"
debug_file: "logs/debug.log"
Expand Down

0 comments on commit f4a5916

Please sign in to comment.