-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
43 lines (42 loc) · 862 Bytes
/
docker-compose.yml
File metadata and controls
43 lines (42 loc) · 862 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
services:
postgres:
container_name: postgres-sql-bsn
image: postgres
environment:
POSTGRES_USER: username
POSTGRES_PASSWORD: password
PGDATA: /var/lib/postgresql/data
POSTGRES_DB: bookify
volumes:
- postgres:/data/postgres
ports:
- 5432:5432
networks:
- spring-demo
restart: unless-stopped
mail-dev:
container_name: mail-dev-bsn
image: maildev/maildev
ports:
- 1080:1080
- 1025:1025
keycloak:
container_name: keycloak-bsn
image: quay.io/keycloak/keycloak:24.0.2
ports:
- 9090:8080
environment:
KEYCLOAK_ADMIN: admin
KEYCLOAK_ADMIN_PASSWORD: admin
networks:
- spring-demo
command:
- "start-dev"
networks:
spring-demo:
driver: bridge
volumes:
postgres:
driver: local
keycloak:
driver: local