mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-18 00:56:02 +00:00
dex config
This commit is contained in:
22
e2e-tests/dex-config.yaml
Normal file
22
e2e-tests/dex-config.yaml
Normal file
@@ -0,0 +1,22 @@
|
||||
issuer: http://localhost:16009/dex
|
||||
storage:
|
||||
type: memory
|
||||
web:
|
||||
http: 0.0.0.0:5556
|
||||
|
||||
oauth2:
|
||||
skipApprovalScreen: true
|
||||
|
||||
staticClients:
|
||||
- id: my-app
|
||||
redirectURIs:
|
||||
- 'http://localhost:3000/callback'
|
||||
name: 'My Test App'
|
||||
secret: my-secret
|
||||
|
||||
enablePasswordDB: true
|
||||
staticPasswords:
|
||||
- email: "test@example.com"
|
||||
hash: "$apr1$Jt1q33YL$HtIJEPYtMAf6aEtCdF4j80"
|
||||
username: "test"
|
||||
userID: "1234"
|
||||
@@ -30,3 +30,11 @@ services:
|
||||
ports:
|
||||
- 16007:3306
|
||||
- 16008:22
|
||||
|
||||
dex:
|
||||
image: dexidp/dex:v2.35.3
|
||||
ports:
|
||||
- "16009:5556"
|
||||
volumes:
|
||||
- ./dex-config.yaml:/etc/dex/cfg/config.yaml
|
||||
command: ["serve", "/etc/dex/cfg/config.yaml"]
|
||||
|
||||
Reference in New Issue
Block a user