-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.override.yml
48 lines (40 loc) · 1.44 KB
/
docker-compose.override.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
version: '3.4'
x-pipeline-volumes:
&pipeline-volumes
- ~/.config/gcloud/application_default_credentials.json:/root/.config/gcloud/credentials.json
- ~/.aws/credentials:/root/.aws/credentials
- ./notebooks:/data_science_pipeline/notebooks
- ./data_science_pipeline:/data_science_pipeline/data_science_pipeline
- ./tests:/data_science_pipeline/tests
services:
test-client:
volumes: *pipeline-volumes
data-science-pipelines:
volumes: *pipeline-volumes
environment:
- GOOGLE_APPLICATION_CREDENTIALS=/root/.config/gcloud/credentials.json
- AWS_SHARED_CREDENTIALS_FILE=/root/.aws/credentials
jupyter:
environment:
- NB_UID=${USER_ID}
- NB_GID=${GROUP_ID}
- GOOGLE_CLOUD_PROJECT=${DATA_SCIENCE_GOOGLE_CLOUD_PROJECT}
volumes:
- .:/home/jovyan/data-science-dags
- ~/.config/gcloud:/home/jovyan/.config/gcloud
- ~/.aws/credentials:/home/jovyan/.aws/credentials
peerscout-api:
volumes:
- ./peerscout_api:/app/api/peerscout_api
- ~/.aws/credentials:/root/.aws/credentials
- ~/.config/gcloud:/root/.config/gcloud
environment:
- DEPLOYMENT_ENV=staging
ports:
- "${DATA_SCIENCE_DAGS_PEERSCOUT_API_PORT}:8080"
peerscout-api-dev:
volumes:
- ./peerscout_api:/app/api/peerscout_api
- ./tests_peerscout_api:/app/api/tests_peerscout_api
environment:
- PEERSCOUT_API_URL=http://peerscout-api:8080/api/peerscout