-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.yml
More file actions
53 lines (46 loc) · 1.31 KB
/
Copy pathconfig.yml
File metadata and controls
53 lines (46 loc) · 1.31 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
database:
url: postgresql+asyncpg://data_rentgen:changeme@localhost:5432/data_rentgen
kafka:
bootstrap_servers: [localhost:9093]
security:
type: SCRAM-SHA-256
user: data_rentgen
password: changeme
compression: zstd
consumer:
# max_records: 100
# This value is for uncompressed messages
max_partition_fetch_bytes: 500KB
server:
debug: true
cors:
enabled: true
allow_origins: [http://localhost:3000]
allow_credentials: true
allow_methods: ['*']
allow_headers: ['*']
expose_headers: [X-Request-ID, Location, Access-Control-Allow-Credentials]
auth:
# Dummy Auth
provider: data_rentgen.server.providers.auth.dummy_provider.DummyAuthProvider
access_token:
secret_key: access_key_secret
personal_tokens:
enabled: true
secret_key: pat_secret
# Keycloak Auth
# provider: data_rentgen.server.providers.auth.keycloak_provider.KeycloakAuthProvider
keycloak:
api_url: http://localhost:8080
realm_name: create_realm_manually
client_id: create_client_manually
client_secret: generated_by_keycloak
ui_callback_url: http://localhost:3000/auth-callback
scope: email
verify_ssl: false
cookie:
secret_key: cookie_secret_key
ui:
api_browser_url: http://localhost:8000
auth_provider: dummyAuthProvider
# auth_provider: keycloakAuthProvider