-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
38 lines (36 loc) · 952 Bytes
/
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
# docker-compose.yml
version: '2'
services:
backend:
build: .
ports:
- "5000:5000"
volumes:
- .:/python-docker
scheduler:
build: ./Scheduler
volumes:
- ./:/python-docker # todo: ./scheduler
duplicates_store:
image: mongo:latest
volumes:
- ./DuplicatesStore/data/db:/data/db
ports:
- 27017:27017
frontend:
build: ./frontend/
ports:
- "3000:3000"
volumes:
- ./frontend:/app
# - /app/node_modules
environment:
- CHOKIDAR_USEPOLLING=true
# todo: Check DNS name resolution in local area network
- backend_url="http://192.168.1.38:5000/"
- image_provider_url="http://192.168.1.38:8000/"
#networks:
# image_network:
# name: image_network
# driver: bridge
# TODO: Wrap host with a container: from client machine we make calls to that wrapper-container, which calls the host via host.docker.internal - that will work everywhere