-
Notifications
You must be signed in to change notification settings - Fork 10
/
engine.docker-compose.yml
61 lines (57 loc) · 1.21 KB
/
engine.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
version: '3.7'
services:
engine:
container_name: engine
build:
context: ./services/engine
dockerfile: Dockerfile-dev
volumes:
- './services/engine:/usr/src/app'
ports:
- 15000:5000
env_file:
- engine.env
environment:
- FLASK_APP=webs:create_app
- ENDPOINT=web
restart: always
engine-worker:
container_name: engine-worker
build:
context: ./services/engine
dockerfile: Dockerfile-dev
volumes:
- './services/engine:/usr/src/app'
env_file:
- engine.env
environment:
- ENDPOINT=engine-worker
restart: always
engine-grpc:
container_name: engine-grpc
build:
context: ./services/engine
dockerfile: Dockerfile-dev
volumes:
- './services/engine:/usr/src/app'
ports:
- 15002:15002
env_file:
- engine.env
environment:
- ENDPOINT=engine-grpc
restart: always
engine-apscheduler:
container_name: engine-apscheduler
build:
context: ./services/engine
dockerfile: Dockerfile-dev
volumes:
- './services/engine:/usr/src/app'
ports:
- 15003:15003
env_file:
- engine.env
environment:
- ENDPOINT=apscheduler
restart: always