refactor: nammed docker volume, manage version and common env files name
This commit is contained in:
3
app.env
Normal file
3
app.env
Normal file
@@ -0,0 +1,3 @@
|
||||
NGINX_WORKER_PROCESSES=1
|
||||
NGINX_WORKER_CONNECTIONS=20
|
||||
JWT_SECRET=9ktU00DSaeYe6vjbvCtlUbRYkB4komGU
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user