-
Notifications
You must be signed in to change notification settings - Fork 2
/
insert.docker-compose.yml
99 lines (94 loc) · 3 KB
/
insert.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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
version: "3.7"
services:
insert_france_virtests:
build: ./flow
command: python3 /usr/app/insert_france_virtests.py
volumes:
- /srv/docker/prefect/flows:/root/.prefect/flows
- "./flow/scripts:/usr/app:ro"
- type: bind
source: ./flow/config.toml
target: /root/.prefect/config.toml
read_only: true
env_file:
- .env
environment:
MINIO_SCHEME: ${MINIO_SCHEME}
MINIO_ENDPOINT: ${MINIO_ENDPOINT}
MINIO_ACCESS_KEY: ${MINIO_ACCESS_KEY}
MINIO_SECRET_KEY: ${MINIO_SECRET_KEY}
MAX_ES_ROW_INJECT: ${MAX_ES_ROW_INJECT}
ELASTIC_SCHEME: ${ELASTIC_SCHEME}
ELASTIC_PORT: ${ELASTIC_PORT}
ELASTIC_ENDPOINT: ${ELASTIC_ENDPOINT}
ELASTIC_USER: ${ELASTIC_USER}
ELASTIC_PWD: ${ELASTICSEARCH_PWD}
insert_france:
build: ./flow
command: python3 /usr/app/insert_france.py
volumes:
- /srv/docker/prefect/flows:/root/.prefect/flows
- "./flow/scripts:/usr/app:ro"
- type: bind
source: ./flow/config.toml
target: /root/.prefect/config.toml
read_only: true
env_file:
- .env
environment:
MINIO_SCHEME: ${MINIO_SCHEME}
MINIO_ENDPOINT: ${MINIO_ENDPOINT}
MINIO_ACCESS_KEY: ${MINIO_ACCESS_KEY}
MINIO_SECRET_KEY: ${MINIO_SECRET_KEY}
MAX_ES_ROW_INJECT: ${MAX_ES_ROW_INJECT}
ELASTIC_SCHEME: ${ELASTIC_SCHEME}
ELASTIC_PORT: ${ELASTIC_PORT}
ELASTIC_ENDPOINT: ${ELASTIC_ENDPOINT}
ELASTIC_USER: ${ELASTIC_USER}
ELASTIC_PWD: ${ELASTICSEARCH_PWD}
insert_owid:
build: ./flow
command: python3 /usr/app/insert_owid.py
volumes:
- /srv/docker/prefect/flows:/root/.prefect/flows
- "./flow/scripts:/usr/app:ro"
- type: bind
source: ./flow/config.toml
target: /root/.prefect/config.toml
read_only: true
env_file:
- .env
environment:
MINIO_SCHEME: ${MINIO_SCHEME}
MINIO_ENDPOINT: ${MINIO_ENDPOINT}
MINIO_ACCESS_KEY: ${MINIO_ACCESS_KEY}
MINIO_SECRET_KEY: ${MINIO_SECRET_KEY}
MAX_ES_ROW_INJECT: ${MAX_ES_ROW_INJECT}
ELASTIC_SCHEME: ${ELASTIC_SCHEME}
ELASTIC_PORT: ${ELASTIC_PORT}
ELASTIC_ENDPOINT: ${ELASTIC_ENDPOINT}
ELASTIC_USER: ${ELASTIC_USER}
ELASTIC_PWD: ${ELASTICSEARCH_PWD}
parse_insert:
build: ./flow
command: python3 /usr/app/parse_insert.py
volumes:
- /srv/docker/prefect/flows:/root/.prefect/flows
- "./flow/scripts:/usr/app:ro"
- type: bind
source: ./flow/config.toml
target: /root/.prefect/config.toml
read_only: true
env_file:
- .env
environment:
MINIO_SCHEME: ${MINIO_SCHEME}
MINIO_ENDPOINT: ${MINIO_ENDPOINT}
MINIO_ACCESS_KEY: ${MINIO_ACCESS_KEY}
MINIO_SECRET_KEY: ${MINIO_SECRET_KEY}
MAX_ES_ROW_INJECT: ${MAX_ES_ROW_INJECT}
ELASTIC_SCHEME: ${ELASTIC_SCHEME}
ELASTIC_PORT: ${ELASTIC_PORT}
ELASTIC_ENDPOINT: ${ELASTIC_ENDPOINT}
ELASTIC_USER: ${ELASTIC_USER}
ELASTIC_PWD: ${ELASTICSEARCH_PWD}