Sign inSign up

mkodockx/docker-owncloud

By mkodockx

Updated about 11 years ago

Latest ownCloud available on ArchLinux

Image
1

2.6K

mkodockx/docker-owncloud repository overview

docker-owncloud

Unique easy and extended owncloud in a Docker container

Quick Start

The quickest way to get it up is:

docker run -d -p 80:8080 mkodockx/docker-owncloud

Then go to http:/// and create an admin user to start.

Features

#Super Slim Arch Linux Base
#OpenSSL Server Side Encryption
#LDAP Support
#FTP Support
#Multiple Compression Formats (zip, tar, bz2, gzip)
#Multi Language & Character Set Support
#Graphics & EXIF Support
#OpCode & Variable Caching (xcache optimized)
#SMTP & sendmail Support
#Document Editing in-browser via LibreOffice (odt, doc, docx)
#Multimedia Previews (pictures, audio, video)
#Preintegrated Apps
Provided by ownCloud
Provided by thirdparty

Setup

Environment variables

  • OC_PATH: The path within subfolders you want to have it linked at. Empty by default, means available at root '/'. Example - OC_PATH=mycloud, available via 'http:///mycloud'

Database setup

The image currently supports linking against a MySQL or MariaDB container. There is also a performance boosted MariaDB integrated.

For a use with < 20 users the integrated SQLite3 database is easily able to handle all data with proper performance.

Volumes

  • /usr/share/webapps/owncloud/apps: put and manage owncloud apps here - see AppStore
  • /usr/share/webapps/owncloud/config: config.php is linked here
  • /usr/share/webapps/owncloud/data: files will be stored here to handle backups
  • /usr/share/webapps/owncloud/themes: place to store additional themes

Permissions

Info

Depending on your host system's architecture, distro and version, you may face file system permission errors.

Additionally ownCloud developers recommend a decent permission set to ensure security.

Container

During startup a script located at permissions/perms-container.sh is run. This will update permissions according to the recommendations.

Host

Find a script in the repo at permissions/perms-host.sh. Run it by providing your volumes path at startup to update your hosts permissions.

Trusted Domains

Two ways to add a trusted domains.

URL
  • Log in as admin
  • Change the end of the current URL to /index.php/settings/admin?trustDomain=your.custom.domain
  • Press Enter and accept the displaying prompt
Script

Use the modification script located at mods/trusted_domains.sh

Customized

From l3iggs

Tag summary

Content type

Image

Digest

sha256:c86d51e7d

Size

794 MB

Last updated

about 11 years ago

docker pull mkodockx/docker-owncloud