summaryrefslogtreecommitdiff
path: root/tests/env/docker-compose.yaml
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2021-07-07 12:37:24 +0300
committerValery Piashchynski <[email protected]>2021-07-07 12:37:24 +0300
commit127186a72d4b8d30f6ada72ade661d8713490728 (patch)
tree0a241602c1b0461c4e0535d9e4183a978b751c8d /tests/env/docker-compose.yaml
parent36bf9228e60f59f569e84822e2860980d7ed698d (diff)
Rework test env...
Move all dockerfiles, docker-compose files into the env folder inside the tests folder. Add elasticmq dockerfile to build SQS compatible test env. Add beanstalk, rabbitmq, sqs to the main tests docker-compose file. Signed-off-by: Valery Piashchynski <[email protected]>
Diffstat (limited to 'tests/env/docker-compose.yaml')
-rw-r--r--tests/env/docker-compose.yaml37
1 files changed, 37 insertions, 0 deletions
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"