Merge pull request #2714 from noud/sqs

Amazon Simple Queue Service (SQS)
This commit is contained in:
Shao Yu-Lung (Allen) 2020-09-21 21:47:02 +08:00 committed by GitHub
commit 4f6260d303
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 27 additions and 0 deletions

View File

@ -134,6 +134,7 @@ That's it! enjoy :)
- PHP Worker
- Laravel Horizon
- Gearman
- Amazon Simple Queue Service
- **Mail Servers:**
- Mailu

View File

@ -663,6 +663,20 @@ services:
networks:
- backend
### SQS #############################################
sqs:
build: ./sqs
ports:
- "${SQS_NODE_HOST_PORT}:9324"
- "${SQS_MANAGEMENT_HTTP_HOST_PORT}:9325"
privileged: true
hostname: laradock-sqs
volumes:
- ${DATA_PATH_HOST}/sqs:/opt/custom
networks:
- frontend
- backend
### RabbitMQ #############################################
rabbitmq:
build: ./rabbitmq

View File

@ -365,6 +365,11 @@ POSTGRES_PASSWORD=secret
POSTGRES_PORT=5432
POSTGRES_ENTRYPOINT_INITDB=./postgres/docker-entrypoint-initdb.d
### SQS ##############################################
SQS_NODE_HOST_PORT=9324
SQS_MANAGEMENT_HTTP_HOST_PORT=9325
### RABBITMQ ##############################################
RABBITMQ_NODE_HOST_PORT=5672

7
sqs/Dockerfile Normal file
View File

@ -0,0 +1,7 @@
FROM roribio16/alpine-sqs
LABEL maintainer="Ronald E. Oribio R. https://github.com/roribio"
ENTRYPOINT ["bash", "-c", "/usr/bin/supervisord"]
EXPOSE 9324 9325