-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
36 lines (33 loc) · 796 Bytes
/
docker-compose.yml
File metadata and controls
36 lines (33 loc) · 796 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
services:
#Database for the Search Microservice
db-search:
image: postgres:15
container_name: vg-search-db
environment:
POSTGRES_USER: user_search
POSTGRES_PASSWORD: password123
POSTGRES_DB: search_db
ports:
- "5433:5432"
#Database for the CRUD Microservice
db-crud:
image: postgres:15
container_name: vg-crud-db
environment:
POSTGRES_USER: user_crud
POSTGRES_PASSWORD: password123
POSTGRES_DB: crud_db
ports:
- "5434:5432"
# GUI to manage both databases
pgadmin:
image: dpage/pgadmin4
container_name: vg-pgadmin
environment:
PGADMIN_DEFAULT_EMAIL: admin@vgdb.com
PGADMIN_DEFAULT_PASSWORD: admin
ports:
- "8080:80"
depends_on:
- db-search
- db-crud