forked from php-enqueue/enqueue-dev
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
107 lines (95 loc) · 2.55 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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
version: '2'
services:
dev:
image: enqueue/dev:latest
depends_on:
- rabbitmq
- mysql
- redis
- beanstalkd
- gearmand
- kafka
- zookeeper
- google-pubsub
- rabbitmqssl
volumes:
- './:/mqdev'
environment:
- AMQP_DSN=amqp://guest:guest@rabbitmq:5672/mqdev
- AMQPS_DSN=amqps://guest:guest@rabbitmqssl:5671
- DOCTRINE_DSN=mysql://root:rootpass@mysql/mqdev
- RABBITMQ_HOST=rabbitmq
- RABBITMQ_USER=guest
- RABBITMQ_PASSWORD=guest
- RABBITMQ_VHOST=mqdev
- RABBITMQ_AMQP__PORT=5672
- RABBITMQ_STOMP_PORT=61613
- DOCTRINE_DRIVER=pdo_mysql
- DOCTRINE_HOST=mysql
- DOCTRINE_PORT=3306
- DOCTRINE_DB_NAME=mqdev
- DOCTRINE_USER=root
- DOCTRINE_PASSWORD=rootpass
- REDIS_HOST=redis
- REDIS_PORT=6379
- AWS_SQS_KEY=$ENQUEUE_AWS__SQS__KEY
- AWS_SQS_SECRET=$ENQUEUE_AWS__SQS__SECRET
- AWS_SQS_REGION=$ENQUEUE_AWS__SQS__REGION
- BEANSTALKD_HOST=beanstalkd
- BEANSTALKD_PORT=11300
- BEANSTALKD_DSN=beanstalk://beanstalkd:11300
- GEARMAN_DSN=gearman://gearmand:4730
- RDKAFKA_HOST=kafka
- RDKAFKA_PORT=9092
- PUBSUB_EMULATOR_HOST=http://google-pubsub:8085
- GCLOUD_PROJECT=mqdev
rabbitmq:
image: 'enqueue/rabbitmq:latest'
environment:
- RABBITMQ_DEFAULT_USER=guest
- RABBITMQ_DEFAULT_PASS=guest
- RABBITMQ_DEFAULT_VHOST=mqdev
ports:
- "15677:15672"
rabbitmqssl:
image: 'enqueue/rabbitmq-ssl:latest'
environment:
- 'RABBITMQ_DEFAULT_USER=guest'
- 'RABBITMQ_DEFAULT_PASS=guest'
beanstalkd:
image: 'jonbaldie/beanstalkd'
gearmand:
image: 'artefactual/gearmand'
redis:
image: 'redis:3'
ports:
- "6379:6379"
mysql:
image: mariadb:10
volumes:
- mysql-data:/var/lib/mysql
environment:
MYSQL_ROOT_PASSWORD: rootpass
generate-changelog:
image: enqueue/generate-changelog:latest
# build: { context: docker, dockerfile: Dockerfile.generate-changelog }
volumes:
- ./:/mqdev
zookeeper:
image: 'wurstmeister/zookeeper'
ports:
- '2181:2181'
kafka:
image: 'wurstmeister/kafka:0.10.2.1'
ports:
- '9092:9092'
environment:
KAFKA_ZOOKEEPER_CONNECT: 'zookeeper:2181'
volumes:
- '/var/run/docker.sock:/var/run/docker.sock'
google-pubsub:
image: 'google/cloud-sdk:latest'
entrypoint: 'gcloud beta emulators pubsub start --host-port=0.0.0.0:8085'
volumes:
mysql-data:
driver: local