Goal
Nextcloud is a full, self-hosted alternative to tools such as G Suite or Microsoft 360. It includes a wide range of features, such as file management and sharing, calendars, document editing, voice and video conferencing, chat, and more. This how-to guide will show a basic Nextcloud installation on Platform.sh.
Assumptions
You will need:
- An SSH key configured on your Platform.sh account
- The Platform.sh CLI tool installed.
Steps
- Create a new Platform.sh project
- Install Nextcloud from the CLI
- Log into Nextcloud
- Set up integrations
1. Create a new project
You can create a new project using the Platform.sh CLI tool:
platform create
After following the instructions, you will get a confirmation that a new project has been created. Copy the new project ID.
2. Initialize your project with your new project ID
Replace <PROJECT ID>
with the ID from the previous step and execute this command:
platform environment:init -p <PROJECT ID> -e master https://github.com/platformsh-templates/nextcloud
3. Log into Nextcloud
The username and password for the administration account were created for you during deployment, and can be viewed in the deploy log:
platform log deploy -p <PROJECT ID>
Using the URL from Step 1, and the credentials listed in the logs, visit your new Nextcloud installation to complete the setup.
4. Set up integrations
Depending on how you intend to use Nextcloud, you will want to enhance the basic installation with some integrations. Common integrations that will give Nextcloud full functionality include:
- IMAP server for sending mail
- File storage (eg. Dropbox, S3, SFTP) for enabling file exchange
- Collabra Online or ONLYOFFICE integration for collaborative document editing
Conclusion
The basic installation of Nextcloud on Platform.sh is straightforward using the CLI and the provided template. Nextcloud users will still need to look after some integrations before the full potential of Nextcloud is available.