-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathdocker-compose.yml
80 lines (73 loc) · 1.58 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
79
80
version: "3"
services:
server:
build:
context: .
dockerfile: docker/webserver/Dockerfile
ports:
- 80:80
depends_on:
- rabbitmq
- mongo
volumes:
- ./webserver.log:/app/webserver.log
- .:/app
network_mode: host
env_file:
- celery.env
- celery_consts.env
- mongodb_user_credentials.env
- user_authentication.env
- storage_credentials.env
rabbitmq:
image: rabbitmq:3-management-alpine
environment:
- RABBITMQ_NODENAME=rabbitmq
ports:
- 5672:5672
- 15672:15672
env_file:
- celery.env
- celery_consts.env
celery-worker:
build:
context: .
dockerfile: docker/celery_worker/Dockerfile
depends_on:
- rabbitmq
volumes:
- ./logs:/app/logs
env_file:
- celery.env
- celery_consts.env
- mongodb_user_credentials.env
- storage_credentials.env
network_mode: host
mongo:
image: mongo:4
env_file:
- mongodb_root_credentials.env
- mongodb_user_credentials.env
ports:
- 27017:27017
volumes:
- ./docker/local_db/:/docker-entrypoint-initdb.d/:ro
- ./db_data:/data/db
storage-emulator:
image: arafato/azurite
environment:
- executable=blob
ports:
- 10000:10000
swagger-ui:
image: swaggerapi/swagger-ui
ports:
- 8080:8080
environment:
- SWAGGER_JSON=/app/swagger.yaml
volumes:
- ./swagger/swagger.yaml:/app/swagger.yaml
swagger-editior:
image: swaggerapi/swagger-editor
ports:
- 8081:8080