generated from well-known-components/template-server
-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathdocker-compose.yml
51 lines (46 loc) · 1.26 KB
/
docker-compose.yml
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
45
46
47
48
49
50
51
# Utilitarian compose file to locally run postgres service
# for integration testing purposes.
version: '3.8'
services:
marketplace_db:
image: postgres
restart: always
environment:
- POSTGRES_USER=marketplace_admin
- POSTGRES_PASSWORD=marketplace_password
- POSTGRES_DB=marketplace
ports:
- 5432:5432
volumes:
- marketplace_data:/var/lib/postgresql/data
- ./test/db/init-favorites-schema.sh:/docker-entrypoint-initdb.d/init-schema.sh
dapps_db:
image: postgres
restart: always
environment:
- POSTGRES_USER=dapps_admin
- POSTGRES_PASSWORD=dapps_password
- POSTGRES_DB=dapps_test
ports:
- 5433:5432
volumes:
- dapps_data:/var/lib/postgresql/data
- ./test/db/init-marketplace-schema.sh:/docker-entrypoint-initdb.d/init-schema.sh
depends_on:
- builder_db
builder_db:
image: postgres
restart: always
environment:
- POSTGRES_USER=builder_admin
- POSTGRES_PASSWORD=builder_password
- POSTGRES_DB=builder
ports:
- 5434:5432
volumes:
- builder_data:/var/lib/postgresql/data
- ./test/db/init-builder-schema.sh:/docker-entrypoint-initdb.d/init-schema.sh
volumes:
marketplace_data:
dapps_data:
builder_data: