onlyoffice/docker-compose.yml

40 lines
850 B
YAML

version: '2'
services:
onlyoffice-documentserver:
image: onlyoffice/documentserver:8.1
container_name: onlyoffice-documentserver
depends_on:
- onlyoffice-postgresql
- onlyoffice-rabbitmq
env_file: .env
# ports:
# - '8147:80'
# - '4447:443'
#stdin_open: true
restart: always
stop_grace_period: 60s
volumes:
- ./data/data:/var/www/onlyoffice/Data
- ./data/log:/var/log/onlyoffice
onlyoffice-rabbitmq:
container_name: onlyoffice-rabbitmq
image: rabbitmq
restart: always
onlyoffice-postgresql:
container_name: onlyoffice-postgresql
image: postgres:9.5
env_file: .env
restart: always
volumes:
- ./postgree:/var/lib/postgresql
volumes:
postgresql_data:
networks:
default:
external:
name: my-network