-
-
Notifications
You must be signed in to change notification settings - Fork 703
Expand file tree
/
Copy pathdocker-compose.test.yml
More file actions
39 lines (35 loc) · 792 Bytes
/
docker-compose.test.yml
File metadata and controls
39 lines (35 loc) · 792 Bytes
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
# vim: ft=yaml.docker-compose
services:
anthias-test:
build:
context: .
dockerfile: docker/Dockerfile.test
environment:
- HOME=/data
- CELERY_BROKER_URL=redis://redis:6379/0
- CELERY_RESULT_BACKEND=redis://redis:6379/0
- ENVIRONMENT=test
stdin_open: true
tty: true
volumes:
- .:/usr/src/app
- anthias-data:/data
anthias-celery:
build:
context: .
dockerfile: docker/Dockerfile.celery
depends_on:
- anthias-test
- redis
environment:
- HOME=/data
- CELERY_BROKER_URL=redis://redis:6379/0
- CELERY_RESULT_BACKEND=redis://redis:6379/0
restart: always
volumes:
- anthias-data:/data
redis:
image: redis:alpine
volumes:
anthias-data:
redis-data: