From a6cda6537b6b787b555aaad55f92e47b945793d2 Mon Sep 17 00:00:00 2001 From: Roman Demidov <58073444+romandemidov@users.noreply.github.com> Date: Mon, 23 Dec 2019 15:59:14 +0300 Subject: [PATCH] Add redis test (#206) --- .travis.yml | 5 +++++ tests/redis.yml | 28 ++++++++++++++++++++++++++++ 2 files changed, 33 insertions(+) create mode 100644 tests/redis.yml diff --git a/.travis.yml b/.travis.yml index 93c8ad5..aad8a55 100644 --- a/.travis.yml +++ b/.travis.yml @@ -43,6 +43,11 @@ env: AMQP_SERVER_TYPE: rabbitmq AMQP_SERVER_URL: amqp://guest:guest@onlyoffice-rabbitmq + # redis + - config: redis.yml + REDIS_SERVER_HOST: onlyoffice-redis + REDIS_SERVER_PORT: 6379 + services: - docker diff --git a/tests/redis.yml b/tests/redis.yml new file mode 100644 index 0000000..2984ffe --- /dev/null +++ b/tests/redis.yml @@ -0,0 +1,28 @@ +version: '2' +services: + onlyoffice-documentserver: + container_name: onlyoffice-documentserver + image: onlyoffice/4testing-documentserver-ie:latest + environment: + - REDIS_SERVER_HOST + - REDIS_SERVER_PORT + stdin_open: true + restart: always + ports: + - '80:80' + - '443:443' + networks: + - onlyoffice + + onlyoffice-redis: + container_name: onlyoffice-redis + image: redis + restart: always + networks: + - onlyoffice + expose: + - '6379' + +networks: + onlyoffice: + driver: 'bridge'