-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcompose.yml
72 lines (72 loc) · 1.56 KB
/
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
services:
frontend:
image: ghcr.io/static-web-server/static-web-server:2
command:
- --config-file
- /config.toml
user: "1000:1000"
volumes:
- ./frontend/dist:/www:ro
- ./frontend/static-server-config.toml:/config.toml:ro
ports:
- "8081:80"
kratos-migrate:
image: oryd/kratos:v1.1.0
command:
- migrate
- sql
- --yes
- --read-from-env
- --config
- /etc/kratos/config.yml
volumes:
- ./kratos:/etc/kratos:ro
restart: on-failure
kratos:
image: oryd/kratos:v1.1.0
command:
- serve
- --watch-courier
- --dev
- --config
- /etc/kratos/config.yml
volumes:
- ./kratos:/etc/kratos:ro
ports:
- "4433:4433" # public
- "4434:4434" # admin
depends_on:
- postgres
- kratos-migrate
postgres:
image: postgres:16-alpine
volumes:
- /var/lib/postgresql/data
- ./postgres:/docker-entrypoint-initdb.d:ro
expose:
- "5432"
environment:
POSTGRES_DB: ory
POSTGRES_USER: ory
POSTGRES_PASSWORD: ory
echo-server:
image: ealen/echo-server:0.9.2
expose:
- "3000"
environment:
- PORT=3000
- LOGS__IGNORE__PING=false
- ENABLE__HOST=true
- ENABLE__HTTP=true
- ENABLE__REQUEST=true
- ENABLE__COOKIES=true
- ENABLE__HEADER=true
- ENABLE__ENVIRONMENT=false
- ENABLE__FILE=false
mailslurper:
image: oryd/mailslurper:latest-smtps
expose:
- "1025"
ports:
- "4436:4436"
- "4437:4437"