Add redis test (#206)

This commit is contained in:
Roman Demidov 2019-12-23 15:59:14 +03:00 committed by Alexey Golubev
parent d59136d477
commit be9f986578
2 changed files with 33 additions and 0 deletions

View file

@ -43,6 +43,11 @@ env:
AMQP_SERVER_TYPE: rabbitmq AMQP_SERVER_TYPE: rabbitmq
AMQP_SERVER_URL: amqp://guest:guest@onlyoffice-rabbitmq AMQP_SERVER_URL: amqp://guest:guest@onlyoffice-rabbitmq
# redis
- config: redis.yml
REDIS_SERVER_HOST: onlyoffice-redis
REDIS_SERVER_PORT: 6379
services: services:
- docker - docker

28
tests/redis.yml Normal file
View file

@ -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'