-
Notifications
You must be signed in to change notification settings - Fork 3
/
docker-compose.yml
36 lines (32 loc) · 998 Bytes
/
docker-compose.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
version: '3.7'
services:
postgres:
image: postgres:12
restart: always
environment:
POSTGRES_PASSWORD: local
POSTGRES_USER: postgres
POSTGRES_DB: kratos
kratos-migrate:
image: oryd/kratos:v0.4.6-alpha.1
command: migrate sql -e --yes
environment:
DSN: postgresql://postgres:local@postgres:5432/kratos?sslmode=disable&max_conns=20&max_idle_conns=4
restart: on-failure
kratos:
image: oryd/kratos:v0.4.6-alpha.1
ports:
- 4433:4433
- 4434:4434
volumes:
- ./.kratos:/etc/config/kratos
command: serve -c /etc/config/kratos/.kratos.yml --dev
environment:
DSN: postgresql://postgres:local@postgres:5432/kratos?sslmode=disable&max_conns=20&max_idle_conns=4
COURIER_SMTP_CONNECTION_URI: smtps://test:test@mailslurper:1025/?skip_ssl_verify=true
SECRETS_COOKIE: you-should-change-me
mailslurper:
image: oryd/mailslurper:latest-smtps
ports:
- 4436:4436
- 4437:4437