ownlcoud update docker-compose to working version
This commit is contained in:
@@ -1,56 +1,17 @@
|
||||
services:
|
||||
app:
|
||||
container_name: app-server
|
||||
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
|
||||
ocis:
|
||||
image: owncloud/ocis:latest
|
||||
ports:
|
||||
- 80:80
|
||||
- 443:443
|
||||
networks:
|
||||
- onlyoffice
|
||||
- 9200:9200
|
||||
environment:
|
||||
# INSECURE: needed if oCIS / Traefik is using self generated certificates
|
||||
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:
|
||||
- ./nginx.conf:/etc/nginx/nginx.conf
|
||||
networks:
|
||||
onlyoffice:
|
||||
driver: 'bridge'
|
||||
volumes:
|
||||
document_log:
|
||||
mysql_data:
|
||||
- ./ocis-config/:/etc/ocis/
|
||||
- ../data/:/var/lib/ocis/
|
||||
Reference in New Issue
Block a user