Skip to content

Commit

Permalink
let kratos container in the local env setup
Browse files Browse the repository at this point in the history
  • Loading branch information
adrianboros committed Sep 26, 2024
1 parent c7805ff commit ba782b3
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions docker/dev/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ services:
FROM_EMAIL: ${FROM_EMAIL}
SEND_EMAIL: ${SEND_EMAIL:-false}
REDIS_URL: redis://redis:6379/0
KRATOS_ADMIN_URL: 'http://kratos:4434/admin'
GATEHUB_ACCESS_KEY: ${GATEHUB_ACCESS_KEY}
GATEHUB_SECRET_KEY: ${GATEHUB_SECRET_KEY}
GATEHUB_GATEWAY_UUID: ${GATEHUB_GATEWAY_UUID}
Expand Down Expand Up @@ -174,9 +175,28 @@ services:
GRAPHQL_URL: http://rafiki-backend:3001/graphql
OPEN_PAYMENTS_URL: https://rafiki-backend/
ENABLE_INSECURE_MESSAGE_COOKIE: true
KRATOS_CONTAINER_PUBLIC_URL: 'http://kratos:4433'
KRATOS_BROWSER_PUBLIC_URL: 'http://localhost:4433'
KRATOS_ADMIN_URL: 'http://kratos:4434/admin'
AUTH_ENABLED: false
<<: *logging

kratos:
image: 'oryd/kratos:v1.2.0'
privileged: true
depends_on:
- postgres
- mailslurper
ports:
- '4433:4433'
volumes:
- ../entrypoint.sh:/entrypoint.sh
- ../identity.schema.json:/etc/config/kratos/identity.schema.json
- ./kratos.yml:/etc/config/kratos/kratos.yml
entrypoint: ['/entrypoint.sh']
networks:
- testnet

tigerbeetle:
image: ghcr.io/tigerbeetle/tigerbeetle:0.16.3
privileged: true
Expand Down

0 comments on commit ba782b3

Please sign in to comment.