onlyoffice/docker-compose.yml

40 lines
850 B
YAML
Raw Normal View History

2023-04-06 15:20:20 +02:00
version: '2'
services:
onlyoffice-documentserver:
2024-10-02 13:20:17 +02:00
image: onlyoffice/documentserver:8.1
2023-04-06 15:20:20 +02:00
container_name: onlyoffice-documentserver
depends_on:
- onlyoffice-postgresql
- onlyoffice-rabbitmq
env_file: .env
2024-10-02 13:20:17 +02:00
# ports:
# - '8147:80'
# - '4447:443'
2023-04-06 15:20:20 +02:00
#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