-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-ory.yml
44 lines (39 loc) · 1011 Bytes
/
docker-ory.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
version: '3.9'
services:
kratos-migrate:
image: oryd/kratos:v0.6.0-alpha.2
volumes:
- type: bind
source: ./ory
target: /etc/config/kratos
command: -c /etc/config/kratos/kratos.yaml migrate sql -e --yes
restart: on-failure
networks:
- intranet
kratos:
depends_on:
- kratos-migrate
image: oryd/kratos:v0.6.0-alpha.2
ports:
- '4433:4433' # public
- '4434:4434' # admin
restart: unless-stopped
environment:
- LOG_LEVEL=trace
command: serve -c /etc/config/kratos/kratos.yaml --dev --watch-courier
volumes:
- type: bind
source: ./ory
target: /etc/config/kratos
networks:
- intranet
kratos-selfservice-ui-node:
image: oryd/kratos-selfservice-ui-node:v0.6.0-alpha.2
environment:
- KRATOS_PUBLIC_URL=http://kratos:4433/
- KRATOS_ADMIN_URL=http://kratos:4434/
networks:
- intranet
restart: on-failure
networks:
intranet: