forked from teamhanko/hanko
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathquickstart.yaml
48 lines (48 loc) · 1.1 KB
/
quickstart.yaml
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
version: "3.7"
services:
hanko-migrate:
image: ghcr.io/teamhanko/hanko:main
volumes:
- type: bind
source: ../../config/quickstart.yaml
target: /etc/config/hanko-config.yaml
command: --config /etc/config/hanko-config.yaml migrate up
restart: on-failure
depends_on:
- postgresd
networks:
- intranet
hanko:
depends_on:
- hanko-migrate
image: ghcr.io/teamhanko/hanko:main
ports:
- '8000:8000' # public
- '8001:8001' # private
restart: unless-stopped
command: serve --config /etc/config/hanko-config.yaml
volumes:
- type: bind
source: ../../config/quickstart.yaml
target: /etc/config/hanko-config.yaml
networks:
- intranet
postgresd:
image: postgres:12
ports:
- "55432:55432"
environment:
- POSTGRES_USER=hanko
- POSTGRES_PASSWORD=hanko
- POSTGRES_DB=hanko
networks:
- intranet
# mailslurper:
# image: oryd/mailslurper:latest-smtps
# ports:
# - '4436:4436'
# - '4437:4437'
# networks:
# - intranet
networks:
intranet: