forked from RichardKnop/machinery
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.test.yml
45 lines (40 loc) · 929 Bytes
/
docker-compose.test.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
version: "2"
services:
sut:
container_name: machinery_sut
image: machinery_sut:latest
volumes:
- "./:/go/src/github.com/RichardKnop/machinery"
depends_on:
- rabbitmq
- redis
- memcached
- mongo
links:
- rabbitmq
- redis
- memcached
- mongo
build:
context: .
dockerfile: ./Dockerfile.test
environment:
AMQP_URL: 'amqp://guest:guest@rabbitmq:5672/'
REDIS_URL: 'redis:6379'
MEMCACHE_URL: 'memcached:11211'
MONGODB_URL: 'mongo:27017'
rabbitmq:
container_name: machinery_sut_rabbitmq
image: rabbitmq
environment:
- RABBITMQ_DEFAULT_USER=guest
- RABBITMQ_DEFAULT_PASS=guest
redis:
container_name: machinery_sut_redis
image: redis
memcached:
container_name: machinery_sut_memcached
image: memcached
mongo:
container_name: machinery_sut_mongo
image: mongo