update compose

This commit is contained in:
Grégory Lebreton 2026-02-05 14:56:20 +01:00
parent 9e6ef38bc4
commit de2cee950a

24
compose.yml Normal file
View File

@ -0,0 +1,24 @@
services:
onlyoffice:
image: onlyoffice/documentserver:9.0
container_name: onlyoffice
stdin_open: true
restart: unless-stopped
stop_grace_period: 60s
env_file:
- .env
environment:
- ${JWT_SECRET}
ports:
- "${HOST_PORT}:80"
volumes:
- /data/nextcloud/onlyoffice/data:/var/www/onlyoffice/Data
- /data/nextcloud/onlyoffice/lib:/var/lib/onlyoffice
- /data/nextcloud/onlyoffice/db:/var/lib/postgresql
networks:
- back
networks:
back:
driver: bridge