diff --git a/DOCUMENTATION/content/introduction/index.md b/DOCUMENTATION/content/introduction/index.md index 39a5c99d..b95858ef 100644 --- a/DOCUMENTATION/content/introduction/index.md +++ b/DOCUMENTATION/content/introduction/index.md @@ -134,6 +134,7 @@ That's it! enjoy :) - PHP Worker - Laravel Horizon - Gearman + - Amazon Simple Queue Service - **Mail Servers:** - Mailu diff --git a/docker-compose.yml b/docker-compose.yml index 490c4163..20f6c3f1 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -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 diff --git a/env-example b/env-example index 87d57426..94026caa 100644 --- a/env-example +++ b/env-example @@ -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 diff --git a/sqs/Dockerfile b/sqs/Dockerfile new file mode 100644 index 00000000..2b43a223 --- /dev/null +++ b/sqs/Dockerfile @@ -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