Skip to content

Commit 89ff24d

Browse files
author
Rub21
committed
Add Tasking manager in docker-compose and fix the tzlocal issue
1 parent 388e29e commit 89ff24d

File tree

2 files changed

+17
-1
lines changed

2 files changed

+17
-1
lines changed

docker-compose.yml

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,4 +222,19 @@ services:
222222
volumes:
223223
- ./overpass-api-db:/db
224224
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

images/tasking-manager-api/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ RUN apk update && \
2525
proj-dev
2626

2727
RUN pip install -r requirements.txt
28+
RUN pip install apscheduler==3.7.0
2829

2930
## INITIALIZATION
3031
EXPOSE 5000

0 commit comments

Comments
 (0)