Skip to content

owncloud-ops/wopiserver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

58 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

wopiserver

Build Status Docker Hub Quay.io

Custom container image for Wopiserver.

Ports

  • 8880

Volumes

  • /var/wopi_local_storage
  • /var/spool/wopirecovery

Environment Variables

# Valid values are: local, cs3
WOPISERVER_STORAGE_TYPE=local
# Valid values are: debug, info, warning, error
WOPISERVER_LOG_LEVEL=error

WOPISERVER_WOPI_URL=http://localhost
WOPISERVER_DOWNLOAD_URL=http://localhost

# If set, 'WOPISERVER_PROXY_SECRET' is also required.
WOPISERVER_PROXY_URL=
WOPISERVER_PROXY_SECRET=
WOPISERVER_PROXY_APP_NAME=Office365
# Controls Microsoft Office365 Business Flow as described in
# https://learn.microsoft.com/en-us/microsoft-365/cloud-storage-partner-program/online/scenarios/business
WOPISERVER_PROXY_BUSINESS_FLOW=False

# These secrets are required, otherwise the container won't start up. It's also possible to mount
# these files to /etc/wopi/wopisecret and /etc/wopi/wopisecret and /etc/wopi/iopsecret to fulfill
# the requirement.
WOPISERVER_WOPI_SECRET=
WOPISERVER_IOP_SECRET=

WOPISERVER_BRIDGE_SSL_VERIFY=True
WOPISERVER_BRIDGE_DISABLE_ZIP=False

# Only applies on storage type 'cs3'.
WOPISERVER_CS3_REVA_GATEWAY=
WOPISERVER_CS3_SSL_VERIFY=True

Build

You could use the BUILD_VERSION to specify the target version.

docker build -f Dockerfile -t wopiserver:latest .

Test

docker run -p 8880:8880 \
    -e WOPISERVER_WOPI_SECRET=dummy-secret \
    -e WOPISERVER_IOP_SECRET=dummy-secret \
    -e WOPISERVER_LOG_LEVEL=debug \
    -it wopiserver:devel

License

This project is licensed under the Apache 2.0 License - see the LICENSE file for details.

About

Custom container image for Wopiserver

Topics

Resources

License

Stars

0 stars

Watchers

0 watching

Forks

Packages

 
 
 

Contributors