-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.yaml
More file actions
74 lines (68 loc) · 1.64 KB
/
Copy pathconfig.yaml
File metadata and controls
74 lines (68 loc) · 1.64 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
database:
host: "auth_db"
user: "myusername"
password: "password"
port: "5432"
name: "dropboks"
sslmode: "disable"
app:
name: "dropboks"
url: "https://localhost/api/v1"
http:
port: 443
grpc:
service:
user_service: user_service:50051
file_service: file_service:50051
verification_url: "auth/verify-email?"
changepassword_url: "auth/change-password?"
redis:
address: "redis"
port: "6379"
client_name: "auth_service"
password: "this_is_password"
nats:
protocol: "nats"
address: "nats"
port: "4221"
credential:
user: "mq_user"
password: "strong_password123"
connection_name: "authentication_service_conn"
timeout: 10
jetstream:
notification:
stream:
name: "notification_stream"
description: "this is notification stream"
subject:
global: "notification.>"
mail: "notification.email"
event:
stream:
name: "eventbus_stream"
description: "this is event bus stream"
consumer:
user_event:
name: "auth-user_consumer"
subject: "eventbus.user.*"
subject:
global: "eventbus.>"
event_bus: "eventbus"
log:
stream:
name: "log_stream"
description: "this is log stream"
subject:
global: "log.>"
prefix: "log"
server:
cors:
allow_origins: "*"
allow_methods: "GET, POST, PUT, DELETE, OPTIONS, PATCH"
allow_headers: "Content-Type, Authorization, X-Requested-With, X-CSRF-Token, Accept, Origin, Cache-Control, X-File-Name, X-File-Type, X-File-Size"
expose_headers: "Content-Length, Content-Range"
max_age: 86400
allow_credential: true
jwt:
secret_key: "THIS_IS_SECRET!!!"