diff options
Diffstat (limited to 'tests/env')
-rw-r--r-- | tests/env/Dockerfile-elastic-mq.yaml | 9 | ||||
-rw-r--r-- | tests/env/custom.conf | 8 | ||||
-rw-r--r-- | tests/env/docker-compose-jobs.yml | 22 | ||||
-rw-r--r-- | tests/env/docker-compose.yaml | 37 |
4 files changed, 76 insertions, 0 deletions
diff --git a/tests/env/Dockerfile-elastic-mq.yaml b/tests/env/Dockerfile-elastic-mq.yaml new file mode 100644 index 00000000..c9f909d0 --- /dev/null +++ b/tests/env/Dockerfile-elastic-mq.yaml @@ -0,0 +1,9 @@ +FROM openjdk:16 + +ADD https://s3-eu-west-1.amazonaws.com/softwaremill-public/elasticmq-server-1.1.1.jar / +COPY custom.conf / +ENTRYPOINT ["java", "-Dconfig.file=custom.conf", "-jar", "/elasticmq-server-1.1.1.jar"] + +EXPOSE 9324 + +CMD ["-help"] diff --git a/tests/env/custom.conf b/tests/env/custom.conf new file mode 100644 index 00000000..9be7730e --- /dev/null +++ b/tests/env/custom.conf @@ -0,0 +1,8 @@ +include classpath("application.conf") + +node-address { + protocol = http + host = "*" + port = 9324 + context-path = "" +} diff --git a/tests/env/docker-compose-jobs.yml b/tests/env/docker-compose-jobs.yml new file mode 100644 index 00000000..7b88c9cf --- /dev/null +++ b/tests/env/docker-compose-jobs.yml @@ -0,0 +1,22 @@ +version: "3" + +services: + beanstalk: + image: schickling/beanstalkd + ports: + - "11300:11300" + + sqs: + image: vsouza/sqs-local + ports: + - "9324:9324" + + rabbitmq: + image: rabbitmq:3-management + environment: + RABBITMQ_DEFAULT_USER: guest + RABBITMQ_DEFAULT_PASS: guest + RABBITMQ_DEFAULT_VHOST: / + ports: + - "15672:15672" + - "5672:5672"
\ No newline at end of file diff --git a/tests/env/docker-compose.yaml b/tests/env/docker-compose.yaml new file mode 100644 index 00000000..a407fed4 --- /dev/null +++ b/tests/env/docker-compose.yaml @@ -0,0 +1,37 @@ +version: '3' + +services: + memcached: + image: memcached:latest + ports: + - "0.0.0.0:11211:11211" + redis: + image: redis:6 + ports: + - "6379:6379" + redis2: + image: redis:6 + ports: + - "6378:6379" + + beanstalk: + image: schickling/beanstalkd + ports: + - "11300:11300" + + sqs: + build: + context: . + dockerfile: Dockerfile-elastic-mq.yaml + ports: + - "9324:9324" + + rabbitmq: + image: rabbitmq:3-management + environment: + RABBITMQ_DEFAULT_USER: guest + RABBITMQ_DEFAULT_PASS: guest + RABBITMQ_DEFAULT_VHOST: / + ports: + - "15672:15672" + - "5672:5672" |