-
Notifications
You must be signed in to change notification settings - Fork 5
/
docker-compose.yml
78 lines (71 loc) · 1.72 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
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
version: '3'
volumes:
mongo_data:
driver: local
services:
nginx:
image: nginx:1.17.10
volumes:
# - ./nginx/nginx-local.conf:/etc/nginx/nginx.conf
- ./nginx/nginx-local-frontend-dev.conf:/etc/nginx/nginx.conf
- ./nginx/config:/etc/ssl
ports:
- 443:443
depends_on:
- api
# frontend:
# image: iguide_frontend
# build:
# dockerfile: ./docker/frontend/Dockerfile
# #volumes:
# #- ./frontend:/app
# #- ./frontend/nginx.conf:/etc/nginx/nginx.conf
# ports:
# - 5001:5001
# restart: unless-stopped
# depends_on:
# - api
api:
image: iguide_api
volumes:
- ./api:/app/api
- ./tests:/app/tests
- ./.env:/app/.env
build:
dockerfile: ./docker/api/Dockerfile
ports:
- 8000:8000
restart: on-failure
catalog-trigger:
image: iguide_trigger
volumes:
- ./api:/app/api
- ./triggers:/app/triggers
- ./.env:/app/.env
build:
dockerfile: ./docker/triggers/Dockerfile
command: >
python triggers/update_catalog.py
restart: on-failure
typeahead-trigger:
image: iguide_trigger
volumes:
- ./api:/app/api
- ./triggers:/app/triggers
- ./.env:/app/.env
build:
dockerfile: ./docker/triggers/Dockerfile
command: >
python triggers/update_typeahead.py
restart: on-failure
repo-scheduler:
image: iguide_scheduler
volumes:
- ./api:/app/api
- ./triggers:/app/triggers
- ./.env:/app/.env
build:
dockerfile: ./docker/triggers/Dockerfile
command: >
python triggers/scheduler.py
restart: on-failure