Add a Linux tips section and move Docker stacks to /srv/docker

This commit is contained in:
Djeex
2026-09-05 12:28:05 +02:00
parent 11d6c275c8
commit 142788d740
40 changed files with 894 additions and 330 deletions
@@ -17,11 +17,12 @@ description: Install Forgejo, a lightweight self-hosted Git service to manage yo
---
tree:
/:
- docker:
- forgejo:
- compose.yaml
- .env
- data/
- srv:
- docker:
- forgejo:
- compose.yaml
- .env
- data/
---
::
@@ -118,7 +119,7 @@ Inside the Swag folders, create the file `forgejo.subdomain.conf`.
::
```bash [Terminal]
sudo nano /docker/swag/config/nginx/proxy-confs/forgejo.subdomain.conf
sudo nano /srv/docker/swag/config/nginx/proxy-confs/forgejo.subdomain.conf
```
Paste the configuration below:
@@ -186,7 +187,7 @@ Press :kbd{value="Ctrl+O"}, then :kbd{value="Enter"} to save, and :kbd{value="Ct
Now open the `app.ini` file from the container's file system:
```bash [Terminal]
sudo nano /docker/forgejo/data/gitea/conf/app.ini
sudo nano /srv/docker/forgejo/data/gitea/conf/app.ini
```
Then modify the server section with your domain information: