From 27585c5927069bfd077bed6a898d10eee0258c41 Mon Sep 17 00:00:00 2001 From: Noud de Brouwer Date: Sun, 20 Sep 2020 00:54:33 +0200 Subject: [PATCH] sqs --- DOCUMENTATION/content/introduction/index.md | 1 + docker-compose.yml | 14 ++++++++++++++ env-example | 5 +++++ sqs/Dockerfile | 7 +++++++ 4 files changed, 27 insertions(+) create mode 100644 sqs/Dockerfile diff --git a/DOCUMENTATION/content/introduction/index.md b/DOCUMENTATION/content/introduction/index.md index 6479dad..318226c 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 efdfef9..3477b26 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 9e44183..831f420 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 0000000..2b43a22 --- /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