heyer.systems Open Source

Nextcloud

Nextcloud is a self-hosted file sync and sharing platform: files, folders, sharing links, WebDAV, mobile and desktop clients. The file storage of the iac office suite, with the Euro-Office editor attached.

Install

On the Proxmox node as root:

bash -c "$(curl -fsSL https://iac.heyer.systems/nextcloud/ct.sh)"

Container from the Debian 13 template · default: 2 CPU, 2048 MiB RAM, 16 GiB disk

Customise the commandYour own values for CPU, RAM, network and modules – no dialog

Then: Web: http://<IP>/ – login: admin, password in the guest: grep nextcloud_admin_password /etc/iac/settings.env

Settings per instance

SettingMeaning
nextcloud_domainPublic host name – Host name users reach Nextcloud under (e.g. cloud.example.org), without https://. It becomes a trusted domain. Empty = only the IP of the guest.
nextcloud_urlPublic URL – URL including https:// if Nextcloud is reached through a reverse proxy (overwrite.cli.url, links in mails). Empty = http://<IP>.

When creating a container, as var_<setting>:

var_nextcloud_domain="<value>" bash -c "$(curl -fsSL https://iac.heyer.systems/nextcloud/ct.sh)"

Set or change later, in the guest (for VMs the only way so far): a line nextcloud_domain=<value> in /etc/iac/settings.env – no quotes, the last line of a setting wins – then:

update

With NetBox: the same line nextcloud_domain=<value> in the field Settings of the VM – it takes effect at the next update. Secrets stay in the guest.

Missing or empty = the app's default. Do not edit the configuration files iac writes – update overwrites them; their first lines name the file for local changes.

Update

In the guest:

update

Debian packages, Nextcloud, modules and the iac configuration. Major versions never change automatically.

Add modules – any time, in containers and VMs alike:

update --list-modules
update --add-modules node-exporter

All modules · More about update