-
Notifications
You must be signed in to change notification settings - Fork 918
/
docker-compose.test.yml
72 lines (66 loc) · 1.64 KB
/
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
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
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
- gcppubsub
links:
- rabbitmq
- redis
- memcached
- mongo
- gcppubsub
build:
context: .
dockerfile: ./Dockerfile.test
environment:
AMQP_URLS: 'amqp://guest:guest@dummy:5672/,amqp://guest:guest@rabbitmq:5672/'
AMQP_URLS_SEPARATOR: ','
REDIS_URL: 'redis:6379'
MEMCACHE_URL: 'memcached:11211'
MONGODB_URL: 'mongo:27017'
SQS_URL: ${SQS_URL}
AWS_ACCESS_KEY_ID: ${AWS_ACCESS_KEY_ID}
AWS_SECRET_ACCESS_KEY: ${AWS_SECRET_ACCESS_KEY}
AWS_DEFAULT_REGION: ${AWS_DEFAULT_REGION}
AWS_REGION: 'us-west-2'
GCPPUBSUB_URL: 'gcppubsub://example-project/test_subscription_queue'
GCPPUBSUB_TOPIC: 'test_topic_queue'
PUBSUB_EMULATOR_HOST: 'gcppubsub:8085'
rabbitmq:
container_name: machinery_sut_rabbitmq
image: rabbitmq
environment:
- RABBITMQ_DEFAULT_USER=guest
- RABBITMQ_DEFAULT_PASS=guest
logging:
driver: none
redis:
container_name: machinery_sut_redis
image: redis
logging:
driver: none
memcached:
container_name: machinery_sut_memcached
image: memcached
logging:
driver: none
mongo:
container_name: machinery_sut_mongo
image: mongo
logging:
driver: none
gcppubsub:
container_name: machinery_sut_gcppubsub
build:
context: .
dockerfile: ./Dockerfile.gcppubsub
logging:
driver: none