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
+10 -9
View File
@@ -21,11 +21,12 @@ This makes it a good fit if you just need a simple, fast SSO backend, for exampl
---
tree:
/:
- docker:
- pocket-id:
- compose.yaml
- .env
- data/
- srv:
- docker:
- pocket-id:
- compose.yaml
- .env
- data/
---
::
@@ -33,7 +34,7 @@ tree:
### Create the data folder
```bash [Terminal]
sudo mkdir -p /docker/pocket-id/data
sudo mkdir -p /srv/docker/pocket-id/data
```
### Generate an encryption key
@@ -58,7 +59,7 @@ services:
env_file:
- .env
volumes:
- /docker/pocket-id/data:/app/data
- /srv/docker/pocket-id/data:/app/data
ports:
- 1411:1411
healthcheck:
@@ -159,7 +160,7 @@ In the Swag folders, create the file `id.subdomain.conf`:
::
```bash [Terminal]
sudo nano /docker/swag/config/nginx/proxy-confs/id.subdomain.conf
sudo nano /srv/docker/swag/config/nginx/proxy-confs/id.subdomain.conf
```
Paste the following configuration:
@@ -243,7 +244,7 @@ https://tinyauth.mydomain.com/api/oauth/callback/pocketid
Copy the __Client ID__ and __Client Secret__ Pocket ID gives you, then edit TinyAuth's `.env` file:
```bash [Terminal]
sudo nano /docker/tinyauth/.env
sudo nano /srv/docker/tinyauth/.env
```
Add the following: