2020-04-28 15:05:35 +03:00
|
|
|
version: '2.1'
|
2019-12-23 15:59:14 +03:00
|
|
|
services:
|
|
|
|
onlyoffice-documentserver:
|
|
|
|
container_name: onlyoffice-documentserver
|
2020-04-28 15:05:35 +03:00
|
|
|
build:
|
|
|
|
context: ../.
|
2020-06-04 17:24:07 +03:00
|
|
|
args:
|
|
|
|
- PRODUCT_NAME=${PRODUCT_NAME:-documentserver}
|
2019-12-23 15:59:14 +03:00
|
|
|
environment:
|
2020-04-28 15:05:35 +03:00
|
|
|
- REDIS_SERVER_HOST=${REDIS_SERVER_HOST:-onlyoffice-redis}
|
|
|
|
- REDIS_SERVER_PORT=${REDIS_SERVER_PORT:-6379}
|
2019-12-23 15:59:14 +03:00
|
|
|
stdin_open: true
|
|
|
|
restart: always
|
|
|
|
ports:
|
|
|
|
- '80:80'
|
|
|
|
- '443:443'
|
|
|
|
networks:
|
|
|
|
- onlyoffice
|
|
|
|
|
|
|
|
onlyoffice-redis:
|
|
|
|
container_name: onlyoffice-redis
|
2020-09-10 16:57:21 +03:00
|
|
|
image: redis:${REDIS_VERSION:-latest}
|
2019-12-23 15:59:14 +03:00
|
|
|
restart: always
|
|
|
|
networks:
|
|
|
|
- onlyoffice
|
|
|
|
expose:
|
|
|
|
- '6379'
|
|
|
|
|
|
|
|
networks:
|
|
|
|
onlyoffice:
|
|
|
|
driver: 'bridge'
|