-
Notifications
You must be signed in to change notification settings - Fork 3
/
docker-compose-ci.yml
62 lines (57 loc) · 1.4 KB
/
docker-compose-ci.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
version: "3"
services:
server:
container_name: taxonify-webserver-test
command: /bin/bash -c 'sleep 10 && python -m teamcity.unittestpy discover -s ./aquascope/tests -t. -v'
image: "${WEBSERVER_IMAGE}"
env_file:
- ./mongodb_test_user_credentials.env
- ./mongodb_root_credentials.env
- ./user_authentication.env
- ./storage_credentials.env
- ./celery.env
- ./celery_consts.env
volumes:
- ./logs:/app/logs
- ./webserver.log:/app/webserver.log
network_mode: host
depends_on:
- mongo
- storage-emulator
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
rabbitmq:
image: rabbitmq:3-management-alpine
environment:
- RABBITMQ_NODENAME=rabbitmq
ports:
- 5672:5672
- 15672:15672
env_file:
- ./celery.env
- ./celery_consts.env
celery-worker:
image: "${CELERY_WORKER_IMAGE}"
depends_on:
- rabbitmq
volumes:
- ./logs:/app/logs
env_file:
- ./celery.env
- ./celery_consts.env
- ./mongodb_user_credentials.env
- ./storage_credentials.env
network_mode: host
storage-emulator:
image: arafato/azurite
environment:
- executable=blob
ports:
- 10000:10000