ab5637a11f
* Remove docker .env file
* Add enviroment variables defaults
* Update docker-compose version
* Update travis tests variables
* Build document server image
* Fix mariadb
* Fix variable names
* Revert container name
(cherry picked from commit e721ca102d
)
30 lines
586 B
YAML
30 lines
586 B
YAML
version: '2.1'
|
|
services:
|
|
onlyoffice-documentserver:
|
|
container_name: onlyoffice-documentserver
|
|
build:
|
|
context: ../.
|
|
environment:
|
|
- AMQP_TYPE=${AMQP_TYPE:-rabbitmq}
|
|
- AMQP_URI=${AMQP_URI:-amqp://guest:guest@onlyoffice-rabbitmq}
|
|
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'
|