Skip to main content

Preparation

There are some things we need to do in preparation to install this service.

Volumes

Persistent Data

This is where the service will store its own application data and ensures we can quickly update the service image.

Ensure your user has permissions to access the folder.

Media & Documents Folders

OwnCloud will need access to the folders where you store your media and document files.  This will allow you to share them through the OwnCloud files and sharing app.

Ensure your user has permissions to access the folder.

Environment

General

TZ

This is the current time zone formatted using the tz database.

For example: America/Vancouver

PUID

This is the numeric ID of the user account on Debian.  If you are unsure, open a terminal and run:

id -u
PGID

This is the numeric ID of the user account's group on Debian.  If you are unsure, open a terminal and run:

id -g

OwnCloud

OWNCLOUD_TRUSTED_DOMAINS

This is the full domain and subdomain name that will be used to access this instance from the internet, as well as the server's local IP address if you want OwnCloud to be accessible locally.  They must be comma separated.

For example: 192.168.68.100, owncloud.example.com

OWNCLOUD_DOMAIN

This is the full domain and subdomain name that will be used to access this instance from the internet.

For example: owncloud.example.com

OWNCLOUD_ADMIN_USERNAME

This is the username for the administrator account that will be used to log-in through the web interface.

This should be an easy-to-remember user name.

Database

DB_USERNAME

This is the username to be used for logging into the database.

For example: owncloud_admin

Passwords

Keep these securely stored in a password manager, such as VaultWarden.

DB_ROOT_PASS

This is the password that will be used for root access to the database.

It is important to use secure, randomly generated password.

You can use a random alphanumeric string from a password manager, or open the terminal and run the command:

tr -dc 'A-Za-z0-9!"#$%&'\''()*+,-./:;<=>?@[\]^_`{|}~' </dev/urandom | head -c 32; echo

This pulls a random string from the 'urandom' device, removes unwanted characters and trim it to an appropriate length.

DB_USER_PASS

This is the password that will be used for user access to the database.

It is important to use secure, randomly generated password.

You can use a random alphanumeric string from a password manager, or open the terminal and run the command:

tr -dc 'A-Za-z0-9!"#$%&'\''()*+,-./:;<=>?@[\]^_`{|}~' </dev/urandom | head -c 32; echo

This pulls a random string from the 'urandom' device, removes unwanted characters and trim it to an appropriate length.

OWNCLOUD_ADMIN_PASSWORD

This is the password for the administrator account that will be used within the web interface.

It is important to use secure passphrase that is easy-to-remember.