-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
43 lines (40 loc) · 960 Bytes
/
docker-compose.yml
File metadata and controls
43 lines (40 loc) · 960 Bytes
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
name: meme-challenge
services:
postgres:
image: postgres:15.2
environment:
- POSTGRES_USER=admin
- POSTGRES_PASSWORD=admin
- POSTGRES_DB=postgres
ports:
- 5432:5432
volumes:
- postgres_data:/var/lib/postgresql/data
keycloak:
image: quay.io/keycloak/keycloak:21.0
environment:
- KEYCLOAK_ADMIN=admin
- KEYCLOAK_ADMIN_PASSWORD=admin
- KC_DB=postgres
- KC_DB_URL_HOST=keycloak-postgres
- KC_DB_URL_DATABASE=keycloak
- KC_DB_USERNAME=admin
- KC_DB_PASSWORD=admin
ports:
- 28080:8080
depends_on:
- keycloak-postgres
command: start-dev
keycloak-postgres:
image: postgres:15.2
environment:
- POSTGRES_USER=admin
- POSTGRES_PASSWORD=admin
- POSTGRES_DB=keycloak
ports:
- 25432:5432
volumes:
- keycloak_postgres_data:/var/lib/postgresql/data
volumes:
postgres_data:
keycloak_postgres_data: