-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.yaml.template
More file actions
67 lines (67 loc) · 2 KB
/
config.yaml.template
File metadata and controls
67 lines (67 loc) · 2 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
server:
host: "127.0.0.1"
port: 8081
externalUrl: "http://127.0.0.1:8081"
frontend:
externalUrl: "http://localhost:5173"
database:
mode: "postgres"
postgres:
host: "localhost"
port: 5732
username: "user"
password: "password"
sslMode: "disable"
initialVirtualServer:
enableRegistration: true
createAdmin: true
signingAlgorithm: "RS256"
admin:
username: admin
displayName: Admin
primaryEmail: foo@bar.com
passwordHash: "$argon2id$v=19$m=16,t=2,p=1$MTIzNDU2Nzg$QWu7e+sjG5knAdNLoKdLDg"
projects:
- slug: "default"
name: "Default"
description: "Default project"
applications:
- name: "test-application"
displayName: "Test Application"
type: "public"
redirectUris:
- "http://localhost:1234/login-callback"
postLogoutRedirectUris:
- "http://localhost:1234/logout-callback"
roles:
- name: "admin"
description: "Admin role"
resourceServers:
- name: "test-resource-server"
description: "Test resource server"
mail:
host: "localhost"
port: 1025
username: "foo"
password: "bar"
keyStore:
mode: "directory"
directory:
path: "./keys"
cache:
mode: memory
leaderElection:
mode: none # Options: "none" (single instance) or "raft" (multi-instance with leader election)
# Raft configuration (only needed when mode is "raft"):
# raft:
# host: "0.0.0.0" # Bind address for Raft server
# port: 7000 # Port for Raft inter-node communication
# id: "keyline-node-1" # Unique identifier for this node
# initiatorId: "keyline-node-1" # Node that bootstraps the cluster (same on all nodes)
# nodes: # List of all nodes in the Raft cluster
# - id: "keyline-node-1"
# address: "keyline-1.internal:7000"
# - id: "keyline-node-2"
# address: "keyline-2.internal:7000"
# - id: "keyline-node-3"
# address: "keyline-3.internal:7000"