Docker-DocumentServer/tests/rabbitmq.yml

30 lines
614 B
YAML
Raw Normal View History

version: '2.1'
2019-12-23 09:27:47 +00:00
services:
onlyoffice-documentserver:
container_name: onlyoffice-documentserver
build:
context: ../.
2019-12-23 09:27:47 +00:00
environment:
- AMQP_TYPE=${AMQP_TYPE:-rabbitmq}
- AMQP_URI=${AMQP_URI:-amqp://guest:guest@onlyoffice-rabbitmq}
2019-12-23 09:27:47 +00:00
stdin_open: true
restart: always
ports:
- '80:80'
- '443:443'
networks:
- onlyoffice
onlyoffice-rabbitmq:
container_name: onlyoffice-rabbitmq
image: rabbitmq:${RABBITMQ_VERSION:-latest}
2019-12-23 09:27:47 +00:00
restart: always
networks:
- onlyoffice
expose:
- '5672'
networks:
onlyoffice:
driver: 'bridge'