Convert the remaining Serveex and recycled articles to steps

This commit is contained in:
Djeex
2026-09-04 15:57:38 +02:00
parent cd75fd2288
commit a7b3880088
29 changed files with 249 additions and 106 deletions
@@ -38,6 +38,9 @@ tree:
---
::
::steps{level="3"}
### Deploy the stack
Open Dockge, click on `compose`, name the stack `code-server`, and paste the following:
```yaml [compose.yaml]
@@ -73,6 +76,8 @@ services:
```
::
### Set your environment variables
Choose a password and generate its hash:
```bash [Terminal]
@@ -100,6 +105,9 @@ __Note:__ Make sure to wrap the hash in single quotes `'`
Deploy the container and go to `http://yourserverip:8443`. Voilà, your code-server instance is up and running in the browser!
### Done !
::
::caution
__If it fails:__ check your firewall rules.
@@ -126,6 +134,9 @@ The whole point of such a solution is to access it remotely from any device. To
__Preliminary:__ We assume youve created a subdomain like `code.yourdomain.com` with a `CNAME` pointing to `yourdomain.com` in your [DNS zone](/general/networking/dns). Unless you're using [Cloudflare Zero Trust](/serveex/security/cloudflare), we also assume youve forwarded port `443` from your router to port `443` on your server using [NAT rules](/general/networking/nat).
::
::steps{level="3"}
### Add code-server's network to SWAG
In Dockge, go to the SWAG stack and edit the compose file to add code-servers network:
```yaml [compose.yaml]
@@ -152,6 +163,8 @@ We assume the network name is `code-server_default`. You can verify that the con
Redeploy the stack by clicking “deploy” and wait until SWAG is fully operational.
### Create the subdomain.conf file
Inside the Swag config folders, create the file `code.subdomain.conf`.
::tip{icon=""}
@@ -216,6 +229,9 @@ server {
Press :kbd{value="Ctrl+O"}, then :kbd{value="Enter"} to save, and :kbd{value="Ctrl+X"} to exit.
### Done !
::
Thats it! code-server is now exposed!
## Protecting code-server with TinyAuth
@@ -5,17 +5,12 @@ description: Install Forgejo, a lightweight self-hosted Git service to manage yo
:ellipsis{left=0px width=40rem top=10rem blur=140px zIndex=60}
# Forgejo
::note
🎯 __Goals:__
- Install Forgejo
- Expose Forgejo using Swag
::
[Forgejo](https://forgejo.org/) is a self-hosted DevOps platform that allows you to manage repositories much like GitHub, but on your own infrastructure. It's a community-driven fork of Gitea.
![forgejo](/img/serveex/forgejo.png)
## Installation
::file-tree
@@ -30,6 +25,9 @@ tree:
---
::
::steps{level="3"}
### Deploy the stack
Open Dockge, click on `compose`, name the stack `forgejo`, and paste the following content:
```yaml [compose.yaml]
@@ -55,6 +53,8 @@ services:
- 222:22
```
### Set your environment variables
Fill out the `.env` file with the required information, for example:
```properties [.env]
@@ -64,6 +64,9 @@ GID=1000
Deploy the container and go to `http://yourserverip:3333`. Your Forgejo instance is now up and running!
### Done !
::
::caution
__If it fails:__ check your firewall rules.
@@ -77,6 +80,9 @@ The benefit of this setup is being able to access it remotely from any of your d
__Prerequisite:__ We assume you have created a subdomain such as `forgejo.yourdomain.com` in your [DNS zone](/general/networking/dns) with `CNAME` pointing to `yourdomain.com`, and [unless you're using Cloudflare Zero Trust](/serveex/security/cloudflare), you have already forwarded port `443` from your router to your servers port `443` in the [NAT rules](/general/networking/nat).
::
::steps{level="3"}
### Add Forgejo's network to SWAG
In Dockge, go to the SWAG stack and edit the compose file by adding Forgejo's network:
```yaml [compose.yaml]
@@ -103,6 +109,8 @@ We assume the Forgejo network name is `forgejo_default`. You can verify connecti
Redeploy the stack by clicking "Deploy" and wait until SWAG is fully operational.
### Create the subdomain.conf file
Inside the Swag folders, create the file `forgejo.subdomain.conf`.
::tip{icon=""}
@@ -173,6 +181,8 @@ server {
Press :kbd{value="Ctrl+O"}, then :kbd{value="Enter"} to save, and :kbd{value="Ctrl+X"} to exit.
### Configure Forgejo's domain
Now open the `app.ini` file from the container's file system:
```bash [Terminal]
@@ -190,6 +200,9 @@ ROOT_URL = https://forgejo.yourdomain.com/
Press :kbd{value="Ctrl+O"}, then :kbd{value="Enter"} to save, and :kbd{value="Ctrl+X"} to exit, then restart the container.
### Done !
::
And thats it! Forgejo is now exposed to the web.
## Protecting Forgejo with Pocket ID
@@ -5,14 +5,6 @@ description: Install IT Tools, a self-hosted collection of handy utilities for d
:ellipsis{left=0px width=40rem top=10rem blur=140px zIndex=60}
# IT Tools
::note
🎯 __Goals:__
- Install IT Tools
- Expose IT Tools with Swag
::
[IT Tools](https://github.com/CorentinTh/it-tools) is a container exposing a web page that provides access to a wide range of development tools.
@@ -20,6 +12,9 @@ description: Install IT Tools, a self-hosted collection of handy utilities for d
## Installation
::steps{level="3"}
### Deploy the stack
Open Dockge, click on `compose`, name the stack `it-tools`, and paste the following:
```yaml [compose.yaml]
@@ -48,6 +43,9 @@ services:
Deploy the container and visit `http://yourserverip:3222`. Thats it, your IT Tools web UI instance is up and running!
### Done !
::
::caution
__If it fails:__ check your firewall rules.
@@ -61,6 +59,9 @@ You might want to access it remotely on all your devices. To do that, we'll expo
__Pre-requisite:__ We assume youve created a subdomain like `tools.yourdomain.com` in your [DNS zone](/general/networking/dns) with `CNAME` set to `yourdomain.com`. Also, unless youre using [Cloudflare Zero Trust](/serveex/security/cloudflare), make sure youve already forwarded port `443` from your router to port `443` on your server in the [NAT rules](/general/networking/nat).
::
::steps{level="3"}
### Add IT Tools' network to SWAG
In Dockge, go to the SWAG stack and edit the compose file to add the IT Tools network:
```yaml [compose.yaml]
@@ -92,6 +93,8 @@ We also assume the SWAG network is named `swag_default`.
Restart the stack by clicking "deploy" and wait for SWAG to be fully operational.
### Create the subdomain.conf file
Inside the Swag folders, create the file `tools.subdomain.conf`.
::tip{icon=""}
@@ -157,6 +160,9 @@ server {
Press :kbd{value="Ctrl+O"}, then :kbd{value="Enter"} to save, and :kbd{value="Ctrl+X"} to exit.
### Done !
::
And thats it! IT Tools is now exposed!
## Protecting IT Tools with TinyAuth