-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose-mock-saml.yml
86 lines (79 loc) · 1.86 KB
/
docker-compose-mock-saml.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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
version: "3.8"
services:
postgres:
image: postgres:13
ports:
- 5432:5432
restart: always
environment:
- POSTGRES_PASSWORD=postgres
networks:
- supertokens
jackson:
image: "boxyhq/jackson:1.0.0"
platform: linux/amd64
depends_on:
- postgres
ports:
- 5225:5225
volumes:
- ./configs:/configs
environment:
- JACKSON_API_KEYS=secret
- DB_ENGINE=sql
- DB_TYPE=postgres
- DB_URL=postgres://postgres:postgres@postgres:5432/postgres
- NEXTAUTH_SECRET=SokqwA3IbdOnw7JRqq9EEesimRn1qKNCshPT5gnlMmE=
- NEXTAUTH_ACL=*
- NEXTAUTH_URL=http://localhost:5225
- SMTP_HOST=maildev
- SMTP_PORT=1025
- PRE_LOADED_CONFIG=/configs
networks:
- supertokens
mock-saml:
image: "boxyhq/mock-saml:1.0.0"
platform: linux/amd64
ports:
- 4000:4000
environment:
- APP_URL=http://localhost:4000
- ENTITY_ID=https://saml.example.com/entityid
- PUBLIC_KEY=REPLACE
- PRIVATE_KEY=REPLACE
# maildev is only present to enable logging in to the jackson admin web ui
# if you want to check the
# see README.md for usage
maildev:
image: soulteary/maildev:latest
ports:
- 1080:1080
- 1025:1025
networks:
- supertokens
supertoken:
image: "registry.supertokens.io/supertokens/supertokens-postgresql"
depends_on:
- postgres
ports:
- 3567:3567
environment:
- POSTGRESQL_CONNECTION_URI=postgres://postgres:postgres@postgres:5432/postgres
networks:
- supertokens
app:
build:
context: ./app
dockerfile: Dockerfile
restart: always
volumes:
- ./app:/app
- /app/node_modules
- /app/.next
ports:
- 3000:3000
networks:
- supertokens
networks:
supertokens: