refactor: nammed docker volume, manage version and common env files name

This commit is contained in:
Lucas
2026-01-13 21:15:25 +00:00
parent e1910788e7
commit c1b44cc1eb
3 changed files with 10 additions and 7 deletions

3
app.env Normal file
View File

@@ -0,0 +1,3 @@
NGINX_WORKER_PROCESSES=1
NGINX_WORKER_CONNECTIONS=20
JWT_SECRET=9ktU00DSaeYe6vjbvCtlUbRYkB4komGU

View File

@@ -1,20 +1,20 @@
services:
onlyoffice-document-server:
image: onlyoffice/documentserver:latest
container_name: onlyoffice-document-server
image: onlyoffice/documentserver:9.2
container_name: onlyoffice
restart: always
volumes:
- data:/var/www/onlyoffice/Data
- log:/var/log/onlyoffice
- onlyoffice_data:/var/www/onlyoffice/Data
env_file:
- onlyoffice.env
- app.env
networks:
- reverse-proxy
volumes:
data:
log:
onlyoffice_data:
external: true
networks:
reverse-proxy:
external: true