first commit
This commit is contained in:
commit
098f59b644
3632 changed files with 518046 additions and 0 deletions
50
onlyoffice/docker-compose.yml
Normal file
50
onlyoffice/docker-compose.yml
Normal file
|
|
@ -0,0 +1,50 @@
|
|||
services:
|
||||
onlyoffice-document-server:
|
||||
build:
|
||||
context: .
|
||||
container_name: onlyoffice-document-server
|
||||
depends_on:
|
||||
- onlyoffice-rabbitmq
|
||||
environment:
|
||||
- DB_TYPE=${ONLYOFFICE_DB_TYPE}
|
||||
- DB_HOST=${ONLYOFFICE_DB_HOST}
|
||||
- DB_PORT=${ONLYOFFICE_DB_PORT}
|
||||
- DB_NAME=${ONLYOFFICE_DB_NAME}
|
||||
- DB_USER=${ONLYOFFICE_DB_USER}
|
||||
- DB_PWD=${ONLYOFFICE_DB_PASSWORD}
|
||||
- AMQP_URI=amqp://guest:guest@onlyoffice-rabbitmq
|
||||
# Uncomment strings below to enable the JSON Web Token validation.
|
||||
- JWT_ENABLED=true
|
||||
- JWT_SECRET=${ONLYOFFICE_JWT_SECRET}
|
||||
- JWT_HEADER=Authorization
|
||||
- JWT_IN_BODY=true
|
||||
stdin_open: true
|
||||
stop_grace_period: 60s
|
||||
volumes:
|
||||
- /var/www/onlyoffice/Data
|
||||
- /var/log/onlyoffice
|
||||
- /var/lib/onlyoffice/documentserver/App_Data/cache/files
|
||||
- /var/www/onlyoffice/documentserver-example/public/files
|
||||
- /usr/share/fonts
|
||||
networks:
|
||||
- database
|
||||
- nextcloud
|
||||
- onlyoffice
|
||||
restart: unless-stopped
|
||||
|
||||
onlyoffice-rabbitmq:
|
||||
container_name: onlyoffice-rabbitmq
|
||||
image: rabbitmq
|
||||
restart: unless-stopped
|
||||
expose:
|
||||
- '5672'
|
||||
networks:
|
||||
- onlyoffice
|
||||
|
||||
networks:
|
||||
database:
|
||||
external: true
|
||||
nextcloud:
|
||||
external: true
|
||||
onlyoffice:
|
||||
name: onlyoffice
|
||||
Loading…
Add table
Add a link
Reference in a new issue