-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcompose.yaml
More file actions
38 lines (35 loc) · 759 Bytes
/
compose.yaml
File metadata and controls
38 lines (35 loc) · 759 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
services:
postgres:
image: postgres:16-alpine
container_name: glud-postgres
env_file:
- .env.docker
ports:
- "5432:5432"
volumes:
- postgres_data:/var/lib/postgresql/data
keycloak:
image: quay.io/keycloak/keycloak:26.1.0
container_name: glud-keycloak
command: ["start-dev", "--import-realm"]
env_file:
- .env.docker
ports:
- "8090:8080"
volumes:
- ./docker/keycloak/import:/opt/keycloak/data/import:ro
depends_on:
- postgres
app:
build:
context: .
dockerfile: docker/backend/Dockerfile
container_name: glud-auth-app
env_file:
- .env.docker
ports:
- "9090:9090"
depends_on:
- keycloak
volumes:
postgres_data: