Skip to content

Commit 715bb7f

Browse files
committed
wamp
1 parent 24f8f90 commit 715bb7f

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

docker-compose.yml

+13
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ services:
1414
- google-pubsub
1515
- rabbitmqssl
1616
- mongo
17+
- thruway
1718
- localstack
1819
volumes:
1920
- './:/mqdev'
@@ -30,6 +31,7 @@ services:
3031
- PHPREDIS_DSN=redis+phpredis://redis
3132
- GPS_DSN=gps:?projectId=mqdev&emulatorHost=http://google-pubsub:8085
3233
- SQS_DSN=sqs:?key=key&secret=secret&region=us-east-1&endpoint=http://localstack:4576&version=latest
34+
- WAMP_DSN=wamp://thruway:9090
3335
- REDIS_HOST=redis
3436
- REDIS_PORT=6379
3537
- AWS_SQS_KEY=key
@@ -104,6 +106,17 @@ services:
104106
ports:
105107
- "27017:27017"
106108

109+
thruway:
110+
image: formapro/nginx-php-fpm:latest-all-exts
111+
ports:
112+
- '9090:9090'
113+
working_dir: '/app'
114+
volumes:
115+
- './:/app'
116+
entrypoint:
117+
- '/usr/bin/php'
118+
- 'vendor/voryx/thruway/Examples/SimpleWsRouter.php'
119+
107120
localstack:
108121
image: 'localstack/localstack:latest'
109122
ports:

docker/bin/test.sh

+1
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ waitForService beanstalkd 11300 50
3737
waitForService gearmand 4730 50
3838
waitForService kafka 9092 50
3939
waitForService mongo 27017 50
40+
waitForService thruway 9090 50
4041
waitForService localstack 4576 50
4142

4243
php docker/bin/refresh-mysql-database.php

0 commit comments

Comments
 (0)