2020-04-28 15:05:35 +03:00
|
|
|
version: '2.1'
|
2019-02-14 13:03:31 +03:00
|
|
|
services:
|
|
|
|
onlyoffice-documentserver:
|
|
|
|
container_name: onlyoffice-documentserver
|
2020-04-28 15:05:35 +03:00
|
|
|
build:
|
|
|
|
context: ../.
|
2019-02-14 13:03:31 +03:00
|
|
|
environment:
|
2020-04-28 15:05:35 +03:00
|
|
|
- AMQP_TYPE=${AMQP_TYPE:-activemq}
|
|
|
|
- AMQP_URI=${AMQP_URI:-amqp://guest:guest@onlyoffice-activemq}
|
2019-02-14 13:03:31 +03:00
|
|
|
stdin_open: true
|
|
|
|
restart: always
|
|
|
|
ports:
|
|
|
|
- '80:80'
|
|
|
|
- '443:443'
|
|
|
|
networks:
|
|
|
|
- onlyoffice
|
|
|
|
|
|
|
|
onlyoffice-activemq:
|
|
|
|
container_name: onlyoffice-activemq
|
2020-09-10 16:57:21 +03:00
|
|
|
image: webcenter/activemq:${ACTIVEMQ_VERSION:-5.14.3}
|
2019-02-14 13:03:31 +03:00
|
|
|
environment:
|
2020-04-28 15:05:35 +03:00
|
|
|
- ACTIVEMQ_USERS_guest=${ACTIVEMQ_USERS_guest:-guest}
|
|
|
|
- ACTIVEMQ_GROUPS_owners=${ACTIVEMQ_GROUPS_owners:-guest}
|
2019-02-14 13:03:31 +03:00
|
|
|
restart: always
|
|
|
|
networks:
|
|
|
|
- onlyoffice
|
|
|
|
expose:
|
|
|
|
- '5672'
|
|
|
|
|
|
|
|
networks:
|
|
|
|
onlyoffice:
|
|
|
|
driver: 'bridge'
|