-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdocker-compose.yml
47 lines (44 loc) · 1.33 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
version: "3.7"
services:
dashi:
container_name: dashi
build:
context: .
dockerfile: Dockerfile
environment:
USE_BLEEDING_EDGE_ETL: "${USE_BLEEDING_EDGE_ETL}"
restart: always
ports:
- '5000:5000'
volumes:
# location of gsi-qc-etl cache files
- type: bind
source: $HOME/qcetl
target: /cache
# SSH keys for access to gsi-qc-etl private repository
# modify this bind mount if your ssh keys are located in another
# location. Docker secrets cannot be used in docker compose.
- type: bind
source: $HOME/.ssh/id_rsa
target: /root/.ssh/id_rsa
- type: bind
source: $HOME/.ssh/id_rsa.pub
target: /root/.ssh/id_rsa.pub
- type: bind
source: $HOME/.ssh/known_hosts
target: /root/.ssh/known_hosts
- type: bind
source: ${LOG_FILE_LOCATION}
target: /dashi/dashi.log
volume:
nocopy: true
secrets:
- mongo_password
# - ssh_passphrase
# If your SSH key requires a passphrase, uncomment out the `ssh_passphrase` lines in the dashi service and in the secrets section below
# Create a file at .passphrase that contains your passphrase. No other changes are necessary.
secrets:
mongo_password:
file: .mongopass
# ssh_passphrase:
# file: .passphrase