Convert Nextcloud and Pingvin to steps

This commit is contained in:
Djeex
2026-09-04 15:14:12 +02:00
parent a7b85af45a
commit cd75fd2288
4 changed files with 79 additions and 36 deletions
-5
View File
@@ -5,11 +5,6 @@ description: Install Immich, a self-hosted alternative to Google Photos and iClo
:ellipsis{left=0px width=40rem top=10rem blur=140px zIndex=60}
# Immich
::note
🎯 __Goals:__ Install [Immich](https://immich.app/docs/overview/introduction) to manage your photos across all your devices.
::
[Immich](https://immich.app/docs/overview/introduction) is a self-hosted photo and video management solution that replaces cloud services like Google Photos or iCloud. It offers powerful features like face recognition and geolocation.
+18 -5
View File
@@ -5,11 +5,6 @@ description: Install Nextcloud to self-host your files, photos, and calendar, a
:ellipsis{left=0px width=40rem top=10rem blur=140px zIndex=60}
# Nextcloud
::note
🎯 __Goals:__ Install [Nextcloud](https://nextcloud.com/) to manage your photos and files across all your devices.
::
[Nextcloud](https://nextcloud.com/) is a self-hosted solution that allows you to access and synchronize your data across all your devices. It also includes collaboration features, calendar, and more. Its a great alternative to services like Google Drive, iCloud, or OneDrive.
@@ -34,6 +29,9 @@ tree:
---
::
::steps{level="3"}
### Deploy the stack
Open Dockge, click on `compose`, name the stack `nextcloud` and paste the following:
```yaml [compose.yaml]
@@ -59,6 +57,8 @@ services:
If youre using a NAS or network-shared drive via [Samba](/general/networking/samba), replace `/docker/nextcloud/data` with the path to your shared folder.
::
### Set your environment variables
Find your `PUID` and `GUID` by running the following command:
```bash [Terminal]
@@ -75,6 +75,9 @@ PORT=4545
Deploy the stack and visit `http://yourserverip:4545` to complete the setup.
### Done !
::
::caution
__If it fails:__ check your firewall rules.
@@ -88,6 +91,9 @@ The goal of this setup is to access Nextcloud remotely from all your devices. We
We assume you have a subdomain `nextcloud.yourdomain.com` with a `CNAME` pointing to `yourdomain.com` in your [DNS zone](/general/networking/dns). And unless youre using [Cloudflare Zero Trust](/serveex/security/cloudflare), port `443` on your router must be forwarded to port `443` on your server using [NAT rules](/general/networking/nat).
::
::steps{level="3"}
### Add Nextcloud's network to SWAG
In Dockge, go to your SWAG stack and edit the compose to add Nextcloud's network:
```yaml [compose.yaml]
@@ -114,6 +120,8 @@ We assume the Nextcloud network is named `nextcloud_default`. You can confirm co
Redeploy the stack and wait for SWAG to become fully operational.
### Configure trusted proxies
In Nextclouds files, edit the `config.php` file:
::tip{icon=""}
@@ -144,6 +152,8 @@ array (
Press :kbd{value="Ctrl+O"}, then :kbd{value="Enter"} to save, and :kbd{value="Ctrl+X"} to exit.
### Create the subdomain.conf file
In Swags folders, create the file `nextcloud.subdomain.conf`:
```bash [Terminal]
@@ -186,6 +196,9 @@ server {
Press :kbd{value="Ctrl+O"}, then :kbd{value="Enter"} to save, and :kbd{value="Ctrl+X"} to exit.
### Done !
::
Thats it! Youve exposed Nextcloud! Dont forget to install [the desktop and mobile apps](https://nextcloud.com/install/).
## Protecting Nextcloud with Pocket ID