forked from Metaform/redline
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
44 lines (40 loc) · 925 Bytes
/
docker-compose.yml
File metadata and controls
44 lines (40 loc) · 925 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
44
version: '3.8'
services:
postgres:
image: postgres:16-alpine
container_name: redline-postgres
environment:
POSTGRES_DB: redlinedb
POSTGRES_USER: redline
POSTGRES_PASSWORD: redline
ports:
- "5432:5432"
volumes:
- postgres_data:/var/lib/postgresql/data
networks:
- redline-network
keycloak:
image: quay.io/keycloak/keycloak:23.0
container_name: redline-keycloak
environment:
KEYCLOAK_ADMIN: admin
KEYCLOAK_ADMIN_PASSWORD: admin
KC_DB: postgres
KC_DB_URL: jdbc:postgresql://postgres:5432/keycloak
KC_DB_USERNAME: redline
KC_DB_PASSWORD: redline
KC_HOSTNAME_STRICT: false
KC_HTTP_ENABLED: true
command:
- start-dev
ports:
- "8080:8080"
depends_on:
- postgres
networks:
- redline-network
volumes:
postgres_data:
networks:
redline-network:
driver: bridge