-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
68 lines (61 loc) · 1.44 KB
/
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
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
version: "3.8"
services:
# backend:
# build:
# context: .
# image: iam-playspace-be:latest
# volumes:
# - type: bind
# source: /dev/urandom
# target: /dev/random
# read_only: true
# depends_on:
# - redis
# - postgres
# restart: "unless-stopped"
mock-be:
image: jordimartin/mmock
command:
- -config-path=/etc/mock-config
- -server-statistics=false
volumes:
- ./frontend/mock/config:/etc/mock-config:ro
ports:
- "127.0.0.1:18083:8083"
restart: unless-stopped
keycloak:
image: quay.io/keycloak/keycloak:17.0.0
command: start-dev
environment:
- KEYCLOAK_ADMIN=admin
- KEYCLOAK_ADMIN_PASSWORD=${KC_ADMIN_PWD:-GlnwgBQhp_pO_QkS}
ports:
- "127.0.0.1:18080:8080"
postgres:
hostname: postgres
image: postgres:13
environment:
- POSTGRES_HOST_AUTH_METHOD=trust
- POSTGRES_DB=iam-playspace
- POSTGRES_USER=iamp-be
- POSTGRES_PASSWORD=${PG_PWD:-n4Tz5ee1JpD3H0OM8wnI3A}
- PGDATA=/var/lib/postgresql/data
volumes:
- rdb-data:/var/lib/postgresql/data
ports:
- 127.0.0.1:15432:5432
restart: unless-stopped
redis:
hostname: redis
image: redis:6.2.6-alpine
command:
[
"redis-server",
"--requirepass",
"T614_qPiiqbGtVeRkzu-aw"
]
ports:
- 127.0.0.1:16379:6379
restart: unless-stopped
volumes:
rdb-data: {}