chore: add new development configuration
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com>
This commit is contained in:
parent
e9b83e0a45
commit
27a43669a7
@ -17,5 +17,5 @@ indent_size = 2
|
|||||||
[{Makefile,*.mk}]
|
[{Makefile,*.mk}]
|
||||||
indent_style = tab
|
indent_style = tab
|
||||||
|
|
||||||
[config.yaml.dist]
|
[{config.yaml.dist,config.dev.yaml}]
|
||||||
indent_size = 2
|
indent_size = 2
|
||||||
|
35
config.dev.yaml
Normal file
35
config.dev.yaml
Normal file
@ -0,0 +1,35 @@
|
|||||||
|
issuer: http://127.0.0.1:5556/dex
|
||||||
|
|
||||||
|
storage:
|
||||||
|
type: sqlite3
|
||||||
|
config:
|
||||||
|
file: var/sqlite/dex.db
|
||||||
|
|
||||||
|
web:
|
||||||
|
http: 127.0.0.1:5556
|
||||||
|
|
||||||
|
telemetry:
|
||||||
|
http: 127.0.0.1:5558
|
||||||
|
|
||||||
|
grpc:
|
||||||
|
addr: 127.0.0.1:5557
|
||||||
|
|
||||||
|
staticClients:
|
||||||
|
- id: example-app
|
||||||
|
redirectURIs:
|
||||||
|
- 'http://127.0.0.1:5555/callback'
|
||||||
|
name: 'Example App'
|
||||||
|
secret: ZXhhbXBsZS1hcHAtc2VjcmV0
|
||||||
|
|
||||||
|
connectors:
|
||||||
|
- type: mockCallback
|
||||||
|
id: mock
|
||||||
|
name: Example
|
||||||
|
|
||||||
|
enablePasswordDB: true
|
||||||
|
|
||||||
|
staticPasswords:
|
||||||
|
- email: "admin@example.com"
|
||||||
|
hash: "$2a$10$2b2cU8CPhOTaGrs1HRQuAueS7JTT5ZHsHSzYiFPm1leZck7Mc8T4W"
|
||||||
|
username: "admin"
|
||||||
|
userID: "08a8684b-db88-4b73-90a9-3cd1661f5466"
|
@ -1,3 +1,6 @@
|
|||||||
|
# DEPRECATED: use config.yaml.dist and config.dev.yaml examples in the repository root.
|
||||||
|
# TODO: keep this until all references are updated.
|
||||||
|
|
||||||
# The base path of dex and the external name of the OpenID Connect service.
|
# The base path of dex and the external name of the OpenID Connect service.
|
||||||
# This is the canonical URL that all clients MUST use to refer to dex. If a
|
# This is the canonical URL that all clients MUST use to refer to dex. If a
|
||||||
# path is provided, dex's HTTP service will listen at a non-root URL.
|
# path is provided, dex's HTTP service will listen at a non-root URL.
|
||||||
|
Reference in New Issue
Block a user