File tree Expand file tree Collapse file tree 4 files changed +20
-4
lines changed Expand file tree Collapse file tree 4 files changed +20
-4
lines changed Original file line number Diff line number Diff line change @@ -222,4 +222,19 @@ services:
222
222
volumes :
223
223
- ./overpass-api-db:/db
224
224
env_file :
225
- - ./.env-overpass
225
+ - ./.env-overpass
226
+
227
+ # #####################################################
228
+ # ## Tasking Manager section
229
+ # #####################################################
230
+ tasking-manager-api :
231
+ image : osmseed-tasking-manager-api:v1
232
+ build :
233
+ context : ./images/tasking-manager-api
234
+ dockerfile : Dockerfile
235
+ ports :
236
+ - ' 5000:5000'
237
+ volumes :
238
+ - ./tasking-manager-api-db:/db
239
+ env_file :
240
+ - ./.env-tasking-manager
Original file line number Diff line number Diff line change 8
8
echo JAVACMD_OPTIONS=\" -server -Xmx$memory \" > ~/.osmosis
9
9
fi
10
10
11
- workingDirectory=" data"
11
+ workingDirectory=" /mnt/data/ data"
12
12
13
13
# Check if state.txt exist in the workingDirectory,
14
14
# in case the file does not exist locally and does not exist in the cloud the replication will start from 0
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ ENV workdir /usr/src/app
7
7
8
8
RUN git clone https://github.com/hotosm/tasking-manager.git $workdir
9
9
# Commits on Oct 23, 2020
10
- RUN cd $workdir && git checkout 951039f86938b9cc9d8b6986c4e5f3423a78e4d3
10
+ RUN cd $workdir && git checkout -f 951039f86938b9cc9d8b6986c4e5f3423a78e4d3
11
11
WORKDIR $workdir
12
12
13
13
# Setup backend dependencies
@@ -25,6 +25,7 @@ RUN apk update && \
25
25
proj-dev
26
26
27
27
RUN pip install -r requirements.txt
28
+ RUN pip install apscheduler==3.7.0
28
29
29
30
# # INITIALIZATION
30
31
EXPOSE 5000
Original file line number Diff line number Diff line change 21
21
containers :
22
22
- name : {{ .Release.Name }}-replication-job-deployment
23
23
image : {{ .Values.replicationJob.image.name }}:{{ .Values.replicationJob.image.tag }}
24
- command : ['. /start.sh']
24
+ command : ['/start.sh']
25
25
{{- if .Values.replicationJob.resources.enabled }}
26
26
resources :
27
27
requests :
You can’t perform that action at this time.
0 commit comments