-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathdocker-compose.yml
46 lines (42 loc) · 1.81 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
version: "3.8"
services:
cloud-concierge:
build: ./main/
working_dir: /main/
environment:
# cloud-concierge specific env vars
- "CLOUDCONCIERGE_DIVISION=$CLOUDCONCIERGE_DIVISION"
- "CLOUDCONCIERGE_JOBID=$CLOUDCONCIERGE_JOBID"
- "CLOUDCONCIERGE_ORGTOKEN=$CLOUDCONCIERGE_ORGTOKEN"
- "CLOUDCONCIERGE_NLPENDPOINT=$CLOUDCONCIERGE_NLPENDPOINT"
- "CLOUDCONCIERGE_LOG_LEVEL=$CLOUDCONCIERGE_LOG_LEVEL"
# Cloud scan specific env vars
- "CLOUDCONCIERGE_PROVIDER=$CLOUDCONCIERGE_PROVIDER"
- "CLOUDCONCIERGE_STATEBACKEND=$CLOUDCONCIERGE_STATEBACKEND"
- "CLOUDCONCIERGE_CLOUDREGIONS=$CLOUDCONCIERGE_CLOUDREGIONS"
- "CLOUDCONCIERGE_TERRAFORMCLOUDORGANIZATION=$CLOUDCONCIERGE_TERRAFORMCLOUDORGANIZATION"
- "CLOUDCONCIERGE_TERRAFORMCLOUDTOKEN=$CLOUDCONCIERGE_TERRAFORMCLOUDTOKEN"
- "CLOUDCONCIERGE_TERRAFORMVERSION=$CLOUDCONCIERGE_TERRAFORMVERSION"
- "CLOUDCONCIERGE_RESOURCESWHITELIST=$CLOUDCONCIERGE_RESOURCESWHITELIST"
- "CLOUDCONCIERGE_WORKSPACEDIRECTORIES=$CLOUDCONCIERGE_WORKSPACEDIRECTORIES"
- "CLOUDCONCIERGE_INFRACOSTTOKEN=$CLOUDCONCIERGE_INFRACOSTTOKEN"
# Version control system specific env vars
- "CLOUDCONCIERGE_VCSREPO=$CLOUDCONCIERGE_VCSREPO"
- "CLOUDCONCIERGE_VCSPAT=$CLOUDCONCIERGE_VCSPAT"
networks:
- network
volumes:
- main:/main
- ~/.aws:/main/credentials/aws:ro
# - ~/.config/gcloud:/main/credentials/gcp:ro # GCP credentials after authenticating with gcloud on Linux/MacOS
# When running locally on Windows, the path to the gcloud credentials is different
- ~/AppData/Roaming/gcloud:/main/credentials/gcp:ro
- ~/.azure:/main/credentials/azurerm:ro
networks:
network:
name: cloud-concierge
driver: bridge
volumes:
main:
name: main
driver: local