clean up
This commit is contained in:
parent
aeed0a2976
commit
11fd6d6d4d
|
@ -101,32 +101,32 @@ services:
|
||||||
depends_on:
|
depends_on:
|
||||||
- kratos-migrate
|
- kratos-migrate
|
||||||
|
|
||||||
kratos-selfservice-ui-node:
|
# kratos-selfservice-ui-node:
|
||||||
image: oryd/kratos-selfservice-ui-node:v0.5.0-alpha.1
|
# image: oryd/kratos-selfservice-ui-node:v0.5.0-alpha.1
|
||||||
container_name: kratos-selfservice-ui-node
|
# container_name: kratos-selfservice-ui-node
|
||||||
restart: on-failure
|
# restart: on-failure
|
||||||
logging: *default-logging
|
# logging: *default-logging
|
||||||
volumes:
|
# volumes:
|
||||||
- ./docker/kratos-selfservice-ui-node/main.hbs:/usr/src/app/views/layouts/main.hbs:ro
|
# - ./docker/kratos-selfservice-ui-node/main.hbs:/usr/src/app/views/layouts/main.hbs:ro
|
||||||
- ./docker/kratos-selfservice-ui-node/login.hbs:/usr/src/app/views/login.hbs:ro
|
# - ./docker/kratos-selfservice-ui-node/login.hbs:/usr/src/app/views/login.hbs:ro
|
||||||
- ./docker/kratos-selfservice-ui-node/dashboard.hbs:/usr/src/app/views/dashboard.hbs:ro
|
# - ./docker/kratos-selfservice-ui-node/dashboard.hbs:/usr/src/app/views/dashboard.hbs:ro
|
||||||
- ./docker/kratos-selfservice-ui-node/registration.hbs:/usr/src/app/views/registration.hbs:ro
|
# - ./docker/kratos-selfservice-ui-node/registration.hbs:/usr/src/app/views/registration.hbs:ro
|
||||||
- ./docker/kratos-selfservice-ui-node/icon_logo.hbs:/usr/src/app/views/partials/icon_logo.hbs:ro
|
# - ./docker/kratos-selfservice-ui-node/icon_logo.hbs:/usr/src/app/views/partials/icon_logo.hbs:ro
|
||||||
- ./docker/kratos-selfservice-ui-node/branding.css:/usr/src/app/public/branding.css:ro
|
# - ./docker/kratos-selfservice-ui-node/branding.css:/usr/src/app/public/branding.css:ro
|
||||||
- ./docker/kratos-selfservice-ui-node/favico.png:/usr/src/app/public/favico.png:ro
|
# - ./docker/kratos-selfservice-ui-node/favico.png:/usr/src/app/public/favico.png:ro
|
||||||
environment:
|
# environment:
|
||||||
- PORT=4435
|
# - PORT=4435
|
||||||
- SECURITY_MODE=jwks
|
# - SECURITY_MODE=jwks
|
||||||
- PROJECT_NAME=Skynet
|
# - PROJECT_NAME=Skynet
|
||||||
- BASE_URL=/
|
# - BASE_URL=/
|
||||||
- KRATOS_BROWSER_URL=/.ory/kratos/public
|
# - KRATOS_BROWSER_URL=/.ory/kratos/public
|
||||||
- JWKS_URL=http://oathkeeper:4456/.well-known/jwks.json
|
# - JWKS_URL=http://oathkeeper:4456/.well-known/jwks.json
|
||||||
- KRATOS_PUBLIC_URL=http://kratos:4433/
|
# - KRATOS_PUBLIC_URL=http://kratos:4433/
|
||||||
- KRATOS_ADMIN_URL=http://kratos:4434/
|
# - KRATOS_ADMIN_URL=http://kratos:4434/
|
||||||
- SQA_OPT_OUT=true
|
# - SQA_OPT_OUT=true
|
||||||
networks:
|
# networks:
|
||||||
shared:
|
# shared:
|
||||||
ipv4_address: 10.10.10.82
|
# ipv4_address: 10.10.10.82
|
||||||
|
|
||||||
dashboard:
|
dashboard:
|
||||||
build:
|
build:
|
||||||
|
|
|
@ -18,6 +18,40 @@
|
||||||
mutators:
|
mutators:
|
||||||
- handler: noop
|
- handler: noop
|
||||||
|
|
||||||
|
# - id: "ory:kratos-selfservice-ui-node:anonymous"
|
||||||
|
# upstream:
|
||||||
|
# preserve_host: true
|
||||||
|
# url: "http://kratos-selfservice-ui-node:4435"
|
||||||
|
# match:
|
||||||
|
# url: "http://oathkeeper:4455/<{error,recovery,verify,auth/*,**.css,**.js}{/,}>"
|
||||||
|
# methods:
|
||||||
|
# - GET
|
||||||
|
# authenticators:
|
||||||
|
# - handler: anonymous
|
||||||
|
# authorizer:
|
||||||
|
# handler: allow
|
||||||
|
# mutators:
|
||||||
|
# - handler: noop
|
||||||
|
|
||||||
|
# - id: "ory:kratos-selfservice-ui-node:protected"
|
||||||
|
# upstream:
|
||||||
|
# preserve_host: true
|
||||||
|
# url: "http://kratos-selfservice-ui-node:4435"
|
||||||
|
# match:
|
||||||
|
# url: "http://oathkeeper:4455/<{,debug,dashboard,settings}>"
|
||||||
|
# methods:
|
||||||
|
# - GET
|
||||||
|
# authenticators:
|
||||||
|
# - handler: cookie_session
|
||||||
|
# authorizer:
|
||||||
|
# handler: allow
|
||||||
|
# mutators:
|
||||||
|
# - handler: id_token
|
||||||
|
# errors:
|
||||||
|
# - handler: redirect
|
||||||
|
# config:
|
||||||
|
# to: http://127.0.0.1/auth/login
|
||||||
|
|
||||||
- id: "dashboard:anonymous"
|
- id: "dashboard:anonymous"
|
||||||
upstream:
|
upstream:
|
||||||
preserve_host: true
|
preserve_host: true
|
||||||
|
|
Reference in New Issue