2020-04-28 14:05:35 +02:00
|
|
|
version: '2.1'
|
2019-12-23 10:27:47 +01:00
|
|
|
services:
|
|
|
|
onlyoffice-documentserver:
|
|
|
|
container_name: onlyoffice-documentserver
|
2020-04-28 14:05:35 +02:00
|
|
|
build:
|
|
|
|
context: ../.
|
2019-12-23 10:27:47 +01:00
|
|
|
environment:
|
2020-04-28 14:05:35 +02:00
|
|
|
- AMQP_SERVER_TYPE=${AMQP_SERVER_TYPE:-rabbitmq}
|
|
|
|
- AMQP_SERVER_URL=${AMQP_SERVER_URL:-amqp://guest:guest@onlyoffice-rabbitmq}
|
2019-12-23 10:27:47 +01:00
|
|
|
stdin_open: true
|
|
|
|
restart: always
|
|
|
|
ports:
|
|
|
|
- '80:80'
|
|
|
|
- '443:443'
|
|
|
|
networks:
|
|
|
|
- onlyoffice
|
|
|
|
|
|
|
|
onlyoffice-rabbitmq:
|
|
|
|
container_name: onlyoffice-rabbitmq
|
|
|
|
image: rabbitmq
|
|
|
|
restart: always
|
|
|
|
networks:
|
|
|
|
- onlyoffice
|
|
|
|
expose:
|
|
|
|
- '5672'
|
|
|
|
|
|
|
|
networks:
|
|
|
|
onlyoffice:
|
|
|
|
driver: 'bridge'
|