-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yml
35 lines (35 loc) · 970 Bytes
/
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
version: "3"
services:
data-model-manager:
image: brighthive/data-resource-api:1.1.0-alpha
environment:
- APP_ENV=SANDBOX
- POSTGRES_USER=test_user
- POSTGRES_PASSWORD=test_password
- POSTGRES_DATABASE=data_resource_dev
- POSTGRES_HOSTNAME=postgres
- POSTGRES_PORT=5432
command: "--data-model-manager"
volumes:
- ./schema:/data-resource/schema
data-resource-api:
image: brighthive/data-resource-api:1.1.0-alpha
ports:
- 8000:8000
environment:
- APP_ENV=SANDBOX
- POSTGRES_USER=test_user
- POSTGRES_PASSWORD=test_password
- POSTGRES_DATABASE=data_resource_dev
- POSTGRES_HOSTNAME=postgres
- POSTGRES_PORT=5432
volumes:
- ./schema:/data-resource/schema
postgres:
image: postgres:11.2
ports:
- 5433:5432
environment:
- POSTGRES_USER=test_user
- POSTGRES_PASSWORD=test_password
- POSTGRES_DB=data_resource_dev