Wiki > Nextcloud pod
Nextcloud is a self-hosted platform for sharing files and using other productivity applications on the web and mobile devices.
These instructions use our Managed Links service to give HTTPS access to the HTTP-only Nextcloud server.
Managed Links Setup
- Access your Manage Links page.
nextcloudfor the app's name. If you use a different name, you may have errors accessing CalDAV/CardDAV.
17506for the port
Connect to your slot through SSH
Create directories for Nextcloud and its files:
mkdir -p ~/nextcloud ~/nextcloud/server ~/nextcloud/db
Create the following Compose file. Run
nano ~/nextcloud/compose.yamland enter the following text:
services: nc: image: nextcloud:apache environment: - APACHE_DISABLE_REWRITE_IP=1 - TRUSTED_PROXIES=127.0.0.1 - OVERWRITEPROTOCOL=https - REDIS_HOST=redis - POSTGRES_HOST=db - POSTGRES_PASSWORD=changethis - POSTGRES_DB=nextcloud - POSTGRES_USER=nextcloud ports: - 127.0.0.1:17506:80 restart: always volumes: - /home/user/nextcloud/server:/var/www/html redis: image: redis:alpine restart: always db: image: postgres:alpine environment: - POSTGRES_PASSWORD=changethis - POSTGRES_DB=nextcloud - POSTGRES_USER=nextcloud restart: always volumes: - /home/user/nextcloud/db:/var/lib/postgresql/data expose: - 5432
Choose a single unique password and change
changethisin the file to that password. It must match on both lines.
Ctrl+S(save) followed by
Change to the
podman-compose up -d
It may take several minutes to launch. Nextcloud will be ready when you are returned to your shell prompt.
Access Nextcloud with your managed link on your Manage Links page to complete the setup process.