Skip to content

Commit 27a4366

Browse files
committed
chore: add new development configuration
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com>
1 parent e9b83e0 commit 27a4366

File tree

3 files changed

+39
-1
lines changed

3 files changed

+39
-1
lines changed

.editorconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,5 @@ indent_size = 2
1717
[{Makefile,*.mk}]
1818
indent_style = tab
1919

20-
[config.yaml.dist]
20+
[{config.yaml.dist,config.dev.yaml}]
2121
indent_size = 2

config.dev.yaml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
issuer: http://127.0.0.1:5556/dex
2+
3+
storage:
4+
type: sqlite3
5+
config:
6+
file: var/sqlite/dex.db
7+
8+
web:
9+
http: 127.0.0.1:5556
10+
11+
telemetry:
12+
http: 127.0.0.1:5558
13+
14+
grpc:
15+
addr: 127.0.0.1:5557
16+
17+
staticClients:
18+
- id: example-app
19+
redirectURIs:
20+
- 'http://127.0.0.1:5555/callback'
21+
name: 'Example App'
22+
secret: ZXhhbXBsZS1hcHAtc2VjcmV0
23+
24+
connectors:
25+
- type: mockCallback
26+
id: mock
27+
name: Example
28+
29+
enablePasswordDB: true
30+
31+
staticPasswords:
32+
- email: "admin@example.com"
33+
hash: "$2a$10$2b2cU8CPhOTaGrs1HRQuAueS7JTT5ZHsHSzYiFPm1leZck7Mc8T4W"
34+
username: "admin"
35+
userID: "08a8684b-db88-4b73-90a9-3cd1661f5466"

examples/config-dev.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# DEPRECATED: use config.yaml.dist and config.dev.yaml examples in the repository root.
2+
# TODO: keep this until all references are updated.
3+
14
# The base path of dex and the external name of the OpenID Connect service.
25
# This is the canonical URL that all clients MUST use to refer to dex. If a
36
# path is provided, dex's HTTP service will listen at a non-root URL.

0 commit comments

Comments
 (0)