pouche
commit
2d9d074132
@ -0,0 +1,37 @@
|
||||
# ONLYOFFICE DOCKER
|
||||
|
||||
https://www.onlyoffice.com/fr/
|
||||
|
||||
## INSTALLATION
|
||||
|
||||
```bash
|
||||
docker-comose up -d
|
||||
```
|
||||
|
||||
## CONFIGURATION
|
||||
|
||||
## NGINX REVERSE PROXY
|
||||
|
||||
```
|
||||
|
||||
```
|
||||
|
||||
### NEXTLOUD LINK
|
||||
|
||||
- get secret:
|
||||
```bash
|
||||
|
||||
```
|
||||
|
||||
![img1](docs/img1.png)
|
||||
|
||||
## DOCUMENTATION
|
||||
|
||||
> adresse
|
||||
|
||||
## TO DO
|
||||
|
||||
- [ ] vars dans .env
|
||||
- [ ] rabbitmq ?
|
||||
- [ ] nginx reverse conf
|
||||
|
@ -0,0 +1,57 @@
|
||||
ersion: '2'
|
||||
|
||||
services:
|
||||
|
||||
onlyoffice-documentserver:
|
||||
image: onlyoffice/documentserver
|
||||
container_name: onlyoffice-documentserver
|
||||
depends_on:
|
||||
- onlyoffice-postgresql
|
||||
# - onlyoffice-rabbitmq
|
||||
environment:
|
||||
- DB_TYPE=postgres
|
||||
- DB_HOST=onlyoffice-postgresql
|
||||
- DB_PORT=5432
|
||||
- DB_NAME=onlyoffice
|
||||
- DB_USER=onlyoffice
|
||||
# - AMQP_URI=amqp://guest:guest@onlyoffice-rabbitmq
|
||||
# Uncomment strings below to enable the JSON Web Token validation.
|
||||
#- JWT_ENABLED=true
|
||||
#- JWT_SECRET=secret
|
||||
#- JWT_HEADER=Authorization
|
||||
#- JWT_IN_BODY=true
|
||||
ports:
|
||||
- '777:80'
|
||||
# - '443:443'
|
||||
stdin_open: true
|
||||
restart: always
|
||||
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
|
||||
|
||||
# onlyoffice-rabbitmq:
|
||||
# container_name: onlyoffice-rabbitmq
|
||||
# image: rabbitmq
|
||||
# restart: always
|
||||
# expose:
|
||||
# - '5672'
|
||||
|
||||
onlyoffice-postgresql:
|
||||
container_name: onlyoffice-postgresql
|
||||
image: postgres:9.5
|
||||
environment:
|
||||
- POSTGRES_DB=onlyoffice
|
||||
- POSTGRES_USER=onlyoffice
|
||||
- POSTGRES_HOST_AUTH_METHOD=trust
|
||||
restart: always
|
||||
expose:
|
||||
- '5432'
|
||||
volumes:
|
||||
- postgresql_data:/var/lib/postgresql
|
||||
|
||||
volumes:
|
||||
postgresql_data:
|
Loading…
Reference in New Issue