forked from php-enqueue/enqueue-dev
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
148 lines (130 loc) · 3.64 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
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
version: '2'
services:
dev:
image: enqueue/dev:latest
depends_on:
- rabbitmq
- mysql
- postgres
- redis
- beanstalkd
- gearmand
- kafka
- zookeeper
- google-pubsub
- rabbitmqssl
- mongo
- thruway
- localstack
volumes:
- './:/mqdev'
environment:
- AMQP_DSN=amqp://guest:guest@rabbitmq:5672/mqdev
- RABBITMQ_AMQP_DSN=amqp+rabbitmq://guest:guest@rabbitmq:5672/mqdev
- AMQPS_DSN=amqps://guest:guest@rabbitmqssl:5671
- STOMP_DSN=stomp://guest:guest@rabbitmq:61613/mqdev
- RABITMQ_STOMP_DSN=stomp+rabbitmq://guest:guest@rabbitmq:61613/mqdev
- RABBITMQ_MANAGMENT_DSN=http://guest:guest@rabbitmq:15672/mqdev
- DOCTRINE_DSN=mysql://root:rootpass@mysql/mqdev
- DOCTRINE_POSTGRES_DSN=postgres://postgres:pass@postgres/template1
- MYSQL_DSN=mysql://root:rootpass@mysql/mqdev
- POSTGRES_DSN=postgres://postgres:pass@postgres/postgres
- PREDIS_DSN=redis+predis://redis
- PHPREDIS_DSN=redis+phpredis://redis
- GPS_DSN=gps:?projectId=mqdev&emulatorHost=http://google-pubsub:8085
- SQS_DSN=sqs:?key=key&secret=secret®ion=us-east-1&endpoint=http://localstack:4576&version=latest
- WAMP_DSN=wamp://thruway:9090
- REDIS_HOST=redis
- REDIS_PORT=6379
- AWS_SQS_KEY=key
- AWS_SQS_SECRET=secret
- AWS_SQS_REGION=us-east-1
- AWS_SQS_ENDPOINT=http://localstack:4576
- AWS_SQS_VERSION=latest
- BEANSTALKD_DSN=beanstalk://beanstalkd:11300
- GEARMAN_DSN=gearman://gearmand:4730
- MONGO_DSN=mongodb://mongo
- RDKAFKA_HOST=kafka
- RDKAFKA_PORT=9092
rabbitmq:
image: 'enqueue/rabbitmq:3.7'
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: mysql:5.7
environment:
MYSQL_ROOT_PASSWORD: rootpass
MYSQL_DATABASE: mqdev
postgres:
image: postgres
environment:
POSTGRES_PASSWORD: pass
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'
mongo:
image: mongo:3.7
ports:
- "27017:27017"
thruway:
image: formapro/nginx-php-fpm:latest-all-exts
ports:
- '9090:9090'
working_dir: '/app'
volumes:
- './:/app'
entrypoint:
- '/usr/bin/php'
- 'docker/thruway/WsRouter.php'
localstack:
image: 'localstack/localstack:latest'
ports:
- '4576:4576'
environment:
HOSTNAME_EXTERNAL: 'localstack'
SERVICES: 'sqs'
influxdb:
image: 'influxdb:latest'
chronograf:
image: 'chronograf:latest'
entrypoint: 'chronograf --influxdb-url=http://influxdb:8086'
ports:
- '8888:8888'
grafana:
image: 'grafana/grafana:latest'
ports:
- '3000:3000'