-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.test.yaml
More file actions
98 lines (90 loc) · 2.61 KB
/
config.test.yaml
File metadata and controls
98 lines (90 loc) · 2.61 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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
database:
host: "test_auth_db"
user: "user_test"
password: "password_test"
port: "5432"
name: "testdb"
sslmode: "disable"
app:
name: "test_app_name"
url: "http://localhost:9090/api/v1"
http:
port: 80
grpc:
service:
user_service: test_user_service:50051
file_service: test_file_service:50051
verification_url: "auth/verify-email?"
changepassword_url: "auth/change-password?"
redis:
address: "test_redis"
port: "6379"
client_name: "auth_service_test"
password: "password_test"
minio:
host: "test_minio"
port: "9000"
credential:
user: "user_test"
password: "password_test"
nats:
protocol: "nats"
address: "test_nats"
port: "4221"
credential:
user: "user_test"
password: "password_test"
connection_name: "authentication_service_conn_test"
timeout: 10
jetstream:
notification:
stream:
name: "notification_stream_test"
description: "this is notification stream"
subject:
global: "test_notif.>"
mail: "test_notif.email"
event:
stream:
name: "event_stream_test"
description: "this is event bus stream"
consumer:
user_event:
name: "test_auth-user_consumer"
subject: "test_event.user.*"
subject:
global: "test_event.>"
event_bus: "test_event"
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: "jwt_secret_test"
container:
auth_service_image: "docker-registry.anandadf.my.id/micros-template/auth_service:test"
file_service_image: "docker-registry.anandadf.my.id/micros-template/file_service:latest"
user_service_image: "docker-registry.anandadf.my.id/micros-template/user_service:latest"
notification_service_image: "docker-registry.anandadf.my.id/micros-template/notification_service:latest"
gateway_image: "nginx:1.28.0-alpine-slim"
nats_image: "nats:2.11.6"
minio_image: "minio/minio:RELEASE.2025-05-24T17-08-30Z-cpuv1"
mailhog_image: "mailhog/mailhog:v1.0.1"
postgresql_image: "postgres:17.5-alpine3.22"
redis_image: "redis:7.2"
script:
nats_server: "../mocks/nats/nats-server.conf"
init_sql: "../mocks/db/init-db.sql"
nginx: "../mocks/gateway/nginx.conf"
grpc_error: "../mocks/gateway/errors.grpc_conf"