fix kratos public base url
This commit is contained in:
parent
30796bdf2e
commit
dad47bf7b6
|
@ -79,16 +79,13 @@ services:
|
|||
container_name: kratos
|
||||
restart: unless-stopped
|
||||
logging: *default-logging
|
||||
ports:
|
||||
- "4433:4433" # public
|
||||
- "4434:4434" # admin
|
||||
expose:
|
||||
- 4433 # public
|
||||
- 4434 # admin
|
||||
environment:
|
||||
- DSN=cockroach://root@cockroach:26257/defaultdb?max_conns=20&max_idle_conns=4&sslmode=verify-full&sslcert=/certs/node.crt&sslkey=/certs/node.key&sslrootcert=/certs/ca.crt
|
||||
- LOG_LEVEL=trace
|
||||
- SERVE_PUBLIC_BASE_URL=/.ory/kratos/public/
|
||||
- SERVE_PUBLIC_BASE_URL=https://secure.${DOMAIN_NAME}/.ory/kratos/public/
|
||||
- SQA_OPT_OUT=true
|
||||
command: serve -c /etc/config/kratos/kratos.yml
|
||||
volumes:
|
||||
|
@ -110,7 +107,6 @@ services:
|
|||
logging: *default-logging
|
||||
environment:
|
||||
- SECURITY_MODE=jwks
|
||||
- PROJECT_NAME=Skynet
|
||||
- BASE_URL=/
|
||||
- KRATOS_BROWSER_URL=/.ory/kratos/public
|
||||
- JWKS_URL=http://oathkeeper:4456/.well-known/jwks.json
|
||||
|
|
|
@ -25,7 +25,6 @@ export default {
|
|||
},
|
||||
baseUrl,
|
||||
jwksUrl: process.env.JWKS_URL || "/",
|
||||
projectName: process.env.PROJECT_NAME || "SecureApp",
|
||||
|
||||
securityMode,
|
||||
SECURITY_MODE_JWT,
|
||||
|
|
Reference in New Issue