Add redis test (#206)
This commit is contained in:
parent
08bb07e2d0
commit
a6cda6537b
@ -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
|
||||
|
||||
|
28
tests/redis.yml
Normal file
28
tests/redis.yml
Normal 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'
|
Loading…
x
Reference in New Issue
Block a user