ownlcoud update docker-compose to working version
This commit is contained in:
@@ -1,56 +1,17 @@
|
|||||||
services:
|
services:
|
||||||
app:
|
ocis:
|
||||||
container_name: app-server
|
image: owncloud/ocis:latest
|
||||||
image: owncloud/server:10.16.1
|
|
||||||
stdin_open: true
|
|
||||||
tty: true
|
|
||||||
restart: always
|
|
||||||
environment:
|
|
||||||
- OWNCLOUD_TRUSTED_DOMAINS=localhost,nginx-server
|
|
||||||
- OWNCLOUD_UID=991
|
|
||||||
- OWNCLOUD_GID=991
|
|
||||||
expose:
|
|
||||||
- '80'
|
|
||||||
- '8080'
|
|
||||||
networks:
|
|
||||||
- onlyoffice
|
|
||||||
volumes:
|
|
||||||
- ./onlyoffice:/tmp/onlyoffice
|
|
||||||
- ./run.sh:/run.sh
|
|
||||||
command: bash /run.sh
|
|
||||||
onlyoffice-document-server:
|
|
||||||
container_name: onlyoffice-document-server
|
|
||||||
image: onlyoffice/documentserver:latest
|
|
||||||
stdin_open: true
|
|
||||||
tty: true
|
|
||||||
restart: always
|
|
||||||
user: 991:991
|
|
||||||
networks:
|
|
||||||
- onlyoffice
|
|
||||||
environment:
|
|
||||||
- JWT_SECRET=secret
|
|
||||||
expose:
|
|
||||||
- '80'
|
|
||||||
- '443'
|
|
||||||
volumes:
|
|
||||||
- document_data:/var/www/onlyoffice/Data
|
|
||||||
- document_log:/var/log/onlyoffice
|
|
||||||
nginx:
|
|
||||||
container_name: nginx-server
|
|
||||||
image: nginx
|
|
||||||
stdin_open: true
|
|
||||||
tty: true
|
|
||||||
restart: always
|
|
||||||
ports:
|
ports:
|
||||||
- 80:80
|
- 9200:9200
|
||||||
- 443:443
|
environment:
|
||||||
networks:
|
# INSECURE: needed if oCIS / Traefik is using self generated certificates
|
||||||
- onlyoffice
|
OCIS_INSECURE: "true"
|
||||||
|
|
||||||
|
# OCIS_URL: the external domain / ip address of oCIS (with protocol, must always be https)
|
||||||
|
OCIS_URL: "https://owncloud.ryantoler.duckdns.org"
|
||||||
|
|
||||||
|
# OCIS_LOG_LEVEL: error / info / ... / debug
|
||||||
|
OCIS_LOG_LEVEL: debugwq
|
||||||
volumes:
|
volumes:
|
||||||
- ./nginx.conf:/etc/nginx/nginx.conf
|
- ./ocis-config/:/etc/ocis/
|
||||||
networks:
|
- ../data/:/var/lib/ocis/
|
||||||
onlyoffice:
|
|
||||||
driver: 'bridge'
|
|
||||||
volumes:
|
|
||||||
document_log:
|
|
||||||
mysql_data:
|
|
||||||
Reference in New Issue
Block a user