Add a Linux tips section and move Docker stacks to /srv/docker
This commit is contained in:
@@ -16,11 +16,12 @@ description: Install UpSnap to remotely wake up machines on your local network v
|
||||
---
|
||||
tree:
|
||||
/:
|
||||
- docker:
|
||||
- upsnap:
|
||||
- compose.yaml
|
||||
- .env
|
||||
- data/
|
||||
- srv:
|
||||
- docker:
|
||||
- upsnap:
|
||||
- compose.yaml
|
||||
- .env
|
||||
- data/
|
||||
---
|
||||
::
|
||||
|
||||
@@ -38,7 +39,7 @@ services:
|
||||
network_mode: host
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- /docker/upsnap/data:/app/pb_data
|
||||
- /srv/docker/upsnap/data:/app/pb_data
|
||||
environment:
|
||||
- TZ=Europe/Paris
|
||||
- UPSNAP_SCAN_RANGE=${SCAN_RANGE}
|
||||
@@ -137,7 +138,7 @@ In the Swag folders, create the file `upsnap.subdomain.conf`.
|
||||
::
|
||||
|
||||
```bash [Terminal]
|
||||
sudo nano /docker/swag/config/nginx/proxy-confs/upsnap.subdomain.conf
|
||||
sudo nano /srv/docker/swag/config/nginx/proxy-confs/upsnap.subdomain.conf
|
||||
```
|
||||
And paste the following configuration:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user