@@ -1,5 +1,11 @@
|
||||
+++
|
||||
date = '{{ .Date }}'
|
||||
draft = true
|
||||
title = '{{ replace .File.ContentBaseName "-" " " | title }}'
|
||||
date = "{{ .Date }}"
|
||||
draft = false
|
||||
summary = ""
|
||||
tags = []
|
||||
|
||||
[hero]
|
||||
src = ""
|
||||
caption = ""
|
||||
+++
|
||||
|
10
archetypes/photos.md
Normal file
10
archetypes/photos.md
Normal file
@@ -0,0 +1,10 @@
|
||||
+++
|
||||
title = '{{ replace .File.ContentBaseName "-" " " | title }}'
|
||||
date = "{{ .Date }}"
|
||||
draft = false
|
||||
tags = []
|
||||
|
||||
[hero]
|
||||
src = ""
|
||||
exif = true
|
||||
+++
|
5
content/photos/_index.md
Normal file
5
content/photos/_index.md
Normal file
@@ -0,0 +1,5 @@
|
||||
+++
|
||||
title = "Posts"
|
||||
details = false
|
||||
type = "gallery"
|
||||
+++
|
BIN
content/photos/bridge/hero.jpg
(Stored with Git LFS)
Normal file
BIN
content/photos/bridge/hero.jpg
(Stored with Git LFS)
Normal file
Binary file not shown.
10
content/photos/bridge/index.md
Normal file
10
content/photos/bridge/index.md
Normal file
@@ -0,0 +1,10 @@
|
||||
+++
|
||||
title = "Bridge"
|
||||
date = 2025-04-11T17:45:00Z
|
||||
draft = false
|
||||
tags = ["Street", "Sunset", "Silhouettes"]
|
||||
|
||||
[hero]
|
||||
src = "hero.jpg"
|
||||
exif = true
|
||||
+++
|
BIN
content/photos/buile-hill-fireworks/0.jpg
(Stored with Git LFS)
Normal file
BIN
content/photos/buile-hill-fireworks/0.jpg
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
content/photos/buile-hill-fireworks/1.jpg
(Stored with Git LFS)
Normal file
BIN
content/photos/buile-hill-fireworks/1.jpg
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
content/photos/buile-hill-fireworks/2.jpg
(Stored with Git LFS)
Normal file
BIN
content/photos/buile-hill-fireworks/2.jpg
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
content/photos/buile-hill-fireworks/hero.jpg
(Stored with Git LFS)
Normal file
BIN
content/photos/buile-hill-fireworks/hero.jpg
(Stored with Git LFS)
Normal file
Binary file not shown.
16
content/photos/buile-hill-fireworks/index.md
Normal file
16
content/photos/buile-hill-fireworks/index.md
Normal file
@@ -0,0 +1,16 @@
|
||||
+++
|
||||
title = "Buile Hill Fireworks"
|
||||
date = 2024-11-02T18:38:00Z
|
||||
draft = false
|
||||
tags = ["Fireworks", "Night", "Collection"]
|
||||
|
||||
[hero]
|
||||
src = "hero.jpg"
|
||||
exif = true
|
||||
+++
|
||||
|
||||
{{< exif-image 0.jpg >}}
|
||||
|
||||
{{< exif-image 1.jpg >}}
|
||||
|
||||
{{< exif-image 2.jpg >}}
|
BIN
content/photos/empire-exchange/hero.jpg
(Stored with Git LFS)
Normal file
BIN
content/photos/empire-exchange/hero.jpg
(Stored with Git LFS)
Normal file
Binary file not shown.
10
content/photos/empire-exchange/index.md
Normal file
10
content/photos/empire-exchange/index.md
Normal file
@@ -0,0 +1,10 @@
|
||||
+++
|
||||
title = "Empire Exchange"
|
||||
date = 2024-10-13T12:18:00Z
|
||||
draft = false
|
||||
tags = ["Street", "Storefront"]
|
||||
|
||||
[hero]
|
||||
src = "hero.jpg"
|
||||
exif = true
|
||||
+++
|
BIN
content/photos/focus-on-sight/hero.jpg
(Stored with Git LFS)
Normal file
BIN
content/photos/focus-on-sight/hero.jpg
(Stored with Git LFS)
Normal file
Binary file not shown.
10
content/photos/focus-on-sight/index.md
Normal file
10
content/photos/focus-on-sight/index.md
Normal file
@@ -0,0 +1,10 @@
|
||||
+++
|
||||
title = "Focus on Sight"
|
||||
date = 2024-10-17T12:19:00Z
|
||||
draft = false
|
||||
tags = ["Murals"]
|
||||
|
||||
[hero]
|
||||
src = "hero.jpg"
|
||||
exif = true
|
||||
+++
|
BIN
content/photos/fogbound/hero.jpg
(Stored with Git LFS)
Normal file
BIN
content/photos/fogbound/hero.jpg
(Stored with Git LFS)
Normal file
Binary file not shown.
10
content/photos/fogbound/index.md
Normal file
10
content/photos/fogbound/index.md
Normal file
@@ -0,0 +1,10 @@
|
||||
+++
|
||||
title = "Fogbound"
|
||||
date = 2024-10-30T11:32:00Z
|
||||
draft = false
|
||||
tags = ["Architecture", "Fog"]
|
||||
|
||||
[hero]
|
||||
src = "hero.jpg"
|
||||
exif = true
|
||||
+++
|
BIN
content/photos/futuristic-space-funk/hero.jpg
(Stored with Git LFS)
Normal file
BIN
content/photos/futuristic-space-funk/hero.jpg
(Stored with Git LFS)
Normal file
Binary file not shown.
10
content/photos/futuristic-space-funk/index.md
Normal file
10
content/photos/futuristic-space-funk/index.md
Normal file
@@ -0,0 +1,10 @@
|
||||
+++
|
||||
title = "Futuristic Space Funk"
|
||||
date = 2024-10-22T11:33:00Z
|
||||
draft = false
|
||||
tags = ["Murals"]
|
||||
|
||||
[hero]
|
||||
src = "hero.jpg"
|
||||
exif = true
|
||||
+++
|
BIN
content/photos/rush-hour/hero.jpg
(Stored with Git LFS)
Normal file
BIN
content/photos/rush-hour/hero.jpg
(Stored with Git LFS)
Normal file
Binary file not shown.
10
content/photos/rush-hour/index.md
Normal file
10
content/photos/rush-hour/index.md
Normal file
@@ -0,0 +1,10 @@
|
||||
+++
|
||||
title = "Rush Hour"
|
||||
date = 2025-04-09T19:00:00Z
|
||||
draft = false
|
||||
tags = ["Street", "Sunset", "Silhouettes"]
|
||||
|
||||
[hero]
|
||||
src = "hero.jpg"
|
||||
exif = true
|
||||
+++
|
BIN
content/photos/sticker-city/hero.jpg
(Stored with Git LFS)
Normal file
BIN
content/photos/sticker-city/hero.jpg
(Stored with Git LFS)
Normal file
Binary file not shown.
10
content/photos/sticker-city/index.md
Normal file
10
content/photos/sticker-city/index.md
Normal file
@@ -0,0 +1,10 @@
|
||||
+++
|
||||
title = "Sticker City"
|
||||
date = 2024-10-22T11:37:00Z
|
||||
draft = false
|
||||
tags = ["Graffiti", "Street"]
|
||||
|
||||
[hero]
|
||||
src = "hero.jpg"
|
||||
exif = true
|
||||
+++
|
BIN
content/photos/suspended/hero.jpg
(Stored with Git LFS)
Normal file
BIN
content/photos/suspended/hero.jpg
(Stored with Git LFS)
Normal file
Binary file not shown.
10
content/photos/suspended/index.md
Normal file
10
content/photos/suspended/index.md
Normal file
@@ -0,0 +1,10 @@
|
||||
+++
|
||||
title = "Suspended"
|
||||
date = 2024-10-13T12:55:00Z
|
||||
draft = false
|
||||
tags = ["Street", "Architecture"]
|
||||
|
||||
[hero]
|
||||
src = "hero.jpg"
|
||||
exif = true
|
||||
+++
|
BIN
content/photos/the-campus/hero.jpg
(Stored with Git LFS)
Normal file
BIN
content/photos/the-campus/hero.jpg
(Stored with Git LFS)
Normal file
Binary file not shown.
10
content/photos/the-campus/index.md
Normal file
10
content/photos/the-campus/index.md
Normal file
@@ -0,0 +1,10 @@
|
||||
+++
|
||||
title = "The Campus"
|
||||
date = 2024-10-17T12:53:00Z
|
||||
draft = false
|
||||
tags = ["Architecture", "Street"]
|
||||
|
||||
[hero]
|
||||
src = "hero.jpg"
|
||||
exif = true
|
||||
+++
|
BIN
content/photos/the-cook/hero.jpg
(Stored with Git LFS)
Normal file
BIN
content/photos/the-cook/hero.jpg
(Stored with Git LFS)
Normal file
Binary file not shown.
10
content/photos/the-cook/index.md
Normal file
10
content/photos/the-cook/index.md
Normal file
@@ -0,0 +1,10 @@
|
||||
+++
|
||||
title = "The Cook"
|
||||
date = 2024-12-19T19:14:00Z
|
||||
draft = false
|
||||
tags = ["Candid", "Street", "Night"]
|
||||
|
||||
[hero]
|
||||
src = "hero.jpg"
|
||||
exif = true
|
||||
+++
|
BIN
content/photos/the-engineering-building/hero.jpg
(Stored with Git LFS)
Normal file
BIN
content/photos/the-engineering-building/hero.jpg
(Stored with Git LFS)
Normal file
Binary file not shown.
10
content/photos/the-engineering-building/index.md
Normal file
10
content/photos/the-engineering-building/index.md
Normal file
@@ -0,0 +1,10 @@
|
||||
+++
|
||||
title = "The Engineering Building"
|
||||
date = 2024-10-17T12:36:00Z
|
||||
draft = false
|
||||
tags = ["Architecture"]
|
||||
|
||||
[hero]
|
||||
src = "hero.jpg"
|
||||
exif = true
|
||||
+++
|
BIN
content/photos/the-protest/hero.jpg
(Stored with Git LFS)
Normal file
BIN
content/photos/the-protest/hero.jpg
(Stored with Git LFS)
Normal file
Binary file not shown.
10
content/photos/the-protest/index.md
Normal file
10
content/photos/the-protest/index.md
Normal file
@@ -0,0 +1,10 @@
|
||||
+++
|
||||
title = "The Protest"
|
||||
date = 2024-11-16T15:28:00Z
|
||||
draft = true
|
||||
tags = ["Protest", "Street"]
|
||||
|
||||
[hero]
|
||||
src = "hero.jpg"
|
||||
exif = true
|
||||
+++
|
BIN
content/photos/the-stairwell/hero.jpg
(Stored with Git LFS)
Normal file
BIN
content/photos/the-stairwell/hero.jpg
(Stored with Git LFS)
Normal file
Binary file not shown.
10
content/photos/the-stairwell/index.md
Normal file
10
content/photos/the-stairwell/index.md
Normal file
@@ -0,0 +1,10 @@
|
||||
+++
|
||||
title = "The Stairwell"
|
||||
date = 2024-12-19T19:04:00Z
|
||||
draft = false
|
||||
tags = ["Abstract", "Night", "Silhouettes"]
|
||||
|
||||
[hero]
|
||||
src = "hero.jpg"
|
||||
exif = true
|
||||
+++
|
BIN
content/photos/the-watcher/hero.jpg
(Stored with Git LFS)
Normal file
BIN
content/photos/the-watcher/hero.jpg
(Stored with Git LFS)
Normal file
Binary file not shown.
10
content/photos/the-watcher/index.md
Normal file
10
content/photos/the-watcher/index.md
Normal file
@@ -0,0 +1,10 @@
|
||||
+++
|
||||
title = "The Watcher"
|
||||
date = 2024-11-26T19:00:00Z
|
||||
draft = false
|
||||
tags = ["Candid", "Street", "Night"]
|
||||
|
||||
[hero]
|
||||
src = "hero.jpg"
|
||||
exif = true
|
||||
+++
|
BIN
content/photos/the-window/hero.jpg
(Stored with Git LFS)
Normal file
BIN
content/photos/the-window/hero.jpg
(Stored with Git LFS)
Normal file
Binary file not shown.
10
content/photos/the-window/index.md
Normal file
10
content/photos/the-window/index.md
Normal file
@@ -0,0 +1,10 @@
|
||||
+++
|
||||
title = "The Window"
|
||||
date = 2024-11-26T18:30:00Z
|
||||
draft = false
|
||||
tags = ["Night", "Abstract", "Silhouettes"]
|
||||
|
||||
[hero]
|
||||
src = "hero.jpg"
|
||||
exif = true
|
||||
+++
|
BIN
content/photos/two-photographers-walk-into-a-frame/hero.jpg
(Stored with Git LFS)
Normal file
BIN
content/photos/two-photographers-walk-into-a-frame/hero.jpg
(Stored with Git LFS)
Normal file
Binary file not shown.
10
content/photos/two-photographers-walk-into-a-frame/index.md
Normal file
10
content/photos/two-photographers-walk-into-a-frame/index.md
Normal file
@@ -0,0 +1,10 @@
|
||||
+++
|
||||
title = "Two Photographers Walk into a Frame"
|
||||
date = 2025-01-07T18:36:00Z
|
||||
draft = false
|
||||
tags = ["Selfie", "Night", "Reflections"]
|
||||
|
||||
[hero]
|
||||
src = "hero.jpg"
|
||||
exif = true
|
||||
+++
|
BIN
content/photos/whitworth/hero.jpg
(Stored with Git LFS)
Normal file
BIN
content/photos/whitworth/hero.jpg
(Stored with Git LFS)
Normal file
Binary file not shown.
10
content/photos/whitworth/index.md
Normal file
10
content/photos/whitworth/index.md
Normal file
@@ -0,0 +1,10 @@
|
||||
+++
|
||||
title = "Whitworth"
|
||||
date = 2024-10-17T13:14:00Z
|
||||
draft = false
|
||||
tags = ["Street", "Architecture"]
|
||||
|
||||
[hero]
|
||||
src = "hero.jpg"
|
||||
exif = true
|
||||
+++
|
BIN
content/photos/window-selfie/hero.jpg
(Stored with Git LFS)
Normal file
BIN
content/photos/window-selfie/hero.jpg
(Stored with Git LFS)
Normal file
Binary file not shown.
10
content/photos/window-selfie/index.md
Normal file
10
content/photos/window-selfie/index.md
Normal file
@@ -0,0 +1,10 @@
|
||||
+++
|
||||
title = "Window Selfie"
|
||||
date = 2024-10-22T11:41:00Z
|
||||
draft = false
|
||||
tags = ["Selfie", "Reflections"]
|
||||
|
||||
[hero]
|
||||
src = "hero.jpg"
|
||||
exif = true
|
||||
+++
|
@@ -105,7 +105,7 @@ For my system I have 3 drives in total formatted as `ext4`, excluding the boot d
|
||||
- WD Red 4TB 5400 RPM HDD - `/mnt/disk2` - Part of storage pool
|
||||
- WD RED 4TB 5400 RPM HDD - `/mnt/parity1` - SnapRAID parity, you must use your largest drive for this
|
||||
|
||||
The three main storage drives are then *pooled* into a new directory called `/mnt/storage` where all my files can be accessed from. `/mnt/storage` contains the following subdirectories:
|
||||
The three main storage drives are then _pooled_ into a new directory called `/mnt/storage` where all my files can be accessed from. `/mnt/storage` contains the following subdirectories:
|
||||
|
||||
- `/public`: Public folder accessible by all users
|
||||
- `/public/media`: Media storage
|
||||
@@ -175,7 +175,6 @@ Keep in mind that using SnapRAID has a couple of caveats:
|
||||
|
||||
### Installation
|
||||
|
||||
|
||||
```bash
|
||||
$ yay -S snapraid
|
||||
```
|
||||
@@ -293,6 +292,6 @@ Just by installing and configuring these two tools, we have managed to satisfy t
|
||||
- Give your server a recognizable [hostname](https://wiki.archlinux.org/title/Network_configuration#Set_the_hostname) (in my case that's jupiter)
|
||||
- Set up an SMTP client like [msmtp](https://wiki.archlinux.org/title/msmtp) so that your server can send you e-mail alerts
|
||||
- Set up [S.M.A.R.T.](https://wiki.archlinux.org/title/S.M.A.R.T.) monitoring for your drives so that you get an early warning if one of your drives is about to fail.
|
||||
- Remember the rule known as *Schrödinger's Backup*: The condition of any backup is unknown until a restore is attempted. Therefore I recommend setting up another [backup solution](https://wiki.archlinux.org/title/System_backup) other than SnapRAID, just in case.
|
||||
- Remember the rule known as _Schrödinger's Backup_: The condition of any backup is unknown until a restore is attempted. Therefore I recommend setting up another [backup solution](https://wiki.archlinux.org/title/System_backup) other than SnapRAID, just in case.
|
||||
|
||||
In the next part, we are going to be setting up Docker and Portainer for container management, Watchtower for automatic container updates, and OpenVPN for remote server management.
|
||||
|
@@ -135,7 +135,7 @@ $ sudo setfacl -R -d -m g::rwx public
|
||||
$ sudo setfacl -R -d -m o::rwx public
|
||||
```
|
||||
|
||||
Next, open Portainer, go to the *stacks* tab, and add a new stack named `samba`. In the `docker-compose` field, paste the following, and modify it to your liking:
|
||||
Next, open Portainer, go to the _stacks_ tab, and add a new stack named `samba`. In the `docker-compose` field, paste the following, and modify it to your liking:
|
||||
|
||||
```yaml
|
||||
version: '3.9'
|
||||
@@ -164,7 +164,7 @@ services:stacks*
|
||||
tty: true
|
||||
```
|
||||
|
||||
For more information on what each option does, you can check the project's [repository](https://github.com/dperson/samba#configuration). After you are satisfied with your settings, click *deploy the stack*, wait a couple of seconds, and try accessing your new file share from a different computer.
|
||||
For more information on what each option does, you can check the project's [repository](https://github.com/dperson/samba#configuration). After you are satisfied with your settings, click _deploy the stack_, wait a couple of seconds, and try accessing your new file share from a different computer.
|
||||
|
||||
## Final Thoughts
|
||||
|
||||
|
@@ -27,7 +27,7 @@ By default, most routers use [DHCP](https://en.wikipedia.org/wiki/Dynamic_Host_C
|
||||
|
||||
First, we need to find our server's MAC address. Open a terminal and run `ifconfig -a`. The network interface we care about should have a line starting with `ether`, `HWaddr`, or `lladdr`. If you have multiple network interfaces (both Ethernet and WiFI for example), you can run `ip route | grep default` to see which one you are using.
|
||||
|
||||
Then, open a browser and go to your router's settings by typing the address of its default gateway (the same address that you get when running `ip route | grep default`). You should have a section named *DHCP*, *Static leases* or something similar. There, you are going to add a new entry, set its IP to whatever you like (in my case `192.168.1.254`) and fill in the above MAC address.
|
||||
Then, open a browser and go to your router's settings by typing the address of its default gateway (the same address that you get when running `ip route | grep default`). You should have a section named _DHCP_, _Static leases_ or something similar. There, you are going to add a new entry, set its IP to whatever you like (in my case `192.168.1.254`) and fill in the above MAC address.
|
||||
|
||||
You might need to restart your server and/or router, but if everything went well, you should now be able to see the line `inet 192.168.1.254` next to the network interface when running `ifconfig -a`.
|
||||
|
||||
@@ -73,10 +73,10 @@ You first need to create a Cloudflare API key:
|
||||
- Include - All zones
|
||||
6. Complete the wizard and copy the generated token into the `API_KEY` variable for the container. Make sure to note this down somewhere since you won't be able to access it afterwards.
|
||||
|
||||
After getting your API key, go to your Portainer instance, open the *stacks* tab, and add a new stack named `routing`. In the `docker-compose` field paste the following and customize to match your API key and domain:
|
||||
After getting your API key, go to your Portainer instance, open the _stacks_ tab, and add a new stack named `routing`. In the `docker-compose` field paste the following and customize to match your API key and domain:
|
||||
|
||||
```yaml
|
||||
version: '3.9'
|
||||
version: "3.9"
|
||||
|
||||
services:
|
||||
cloudflare_ddns:
|
||||
@@ -91,7 +91,7 @@ services:
|
||||
network_mode: bridge
|
||||
```
|
||||
|
||||
Click *deploy the stack* and you should notice that a new A record has appeared on the DNS tab of your Cloudflare dashboard.
|
||||
Click _deploy the stack_ and you should notice that a new A record has appeared on the DNS tab of your Cloudflare dashboard.
|
||||
|
||||
I have also added a couple of CNAME records pointing to the original A record specifically for SSH and VPN services: `ssh.example.com` and `vpn.example.com`.
|
||||
|
||||
@@ -118,7 +118,7 @@ $ docker run -v /mnt/storage/configs/openvpn:/etc/openvpn --rm -e PUID=1000 -e P
|
||||
After running these commands, go to Potainer and deploy a new `vpn` stack:
|
||||
|
||||
```yaml
|
||||
version: '3.9'
|
||||
version: "3.9"
|
||||
|
||||
services:
|
||||
vpn:
|
||||
@@ -126,12 +126,12 @@ services:
|
||||
container_name: openvpn
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- '/mnt/storage/configs/openvpn:/etc/openvpn'
|
||||
- "/mnt/storage/configs/openvpn:/etc/openvpn"
|
||||
environment:
|
||||
- PUID=1000
|
||||
- PGID=1000
|
||||
ports:
|
||||
- '1194:1194/udp'
|
||||
- "1194:1194/udp"
|
||||
networks:
|
||||
- vpn
|
||||
cap_add:
|
||||
@@ -278,7 +278,7 @@ $ docker network create proxy
|
||||
Finally, open the `routing` stack you created earlier in Portainer and edit it like so:
|
||||
|
||||
```yaml
|
||||
version: '3.9'
|
||||
version: "3.9"
|
||||
|
||||
services:
|
||||
nginx-proxy-manager:
|
||||
@@ -293,13 +293,13 @@ services:
|
||||
- DISABLE_IPV6=1
|
||||
- KEEP_APP_RUNNING=1
|
||||
volumes:
|
||||
- '/mnt/storage/configs/routing/nginx:/config'
|
||||
- '/mnt/storage/configs/routing/nginx/nginx.conf:/etc/nginx/nginx.conf'
|
||||
- '/mnt/storage:/static:ro'
|
||||
- "/mnt/storage/configs/routing/nginx:/config"
|
||||
- "/mnt/storage/configs/routing/nginx/nginx.conf:/etc/nginx/nginx.conf"
|
||||
- "/mnt/storage:/static:ro"
|
||||
ports:
|
||||
- '80:8080'
|
||||
- '81:8181'
|
||||
- '443:4443'
|
||||
- "80:8080"
|
||||
- "81:8181"
|
||||
- "443:4443"
|
||||
networks:
|
||||
- proxy
|
||||
|
||||
@@ -310,8 +310,7 @@ services:
|
||||
networks:
|
||||
- proxy
|
||||
|
||||
cloudflare_ddns:
|
||||
[...]
|
||||
cloudflare_ddns: [...]
|
||||
|
||||
networks:
|
||||
proxy:
|
||||
@@ -344,31 +343,27 @@ Then, follow the instructions on your terminal and save the `cert.pem` file at `
|
||||
Finally, edit the `routing` stack again and add the following:
|
||||
|
||||
```yaml
|
||||
version: '3.9'
|
||||
version: "3.9"
|
||||
|
||||
services:
|
||||
nginx-proxy-manager:
|
||||
[...]
|
||||
nginx-proxy-manager: [...]
|
||||
|
||||
whoami:
|
||||
[...]
|
||||
whoami: [...]
|
||||
|
||||
cloudflare_ddns:
|
||||
[...]
|
||||
cloudflare_ddns: [...]
|
||||
|
||||
cloudflare_argo_tunnel:
|
||||
image: cloudflare/cloudflared
|
||||
container_name: cloudflare_tunnel
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- '/mnt/storage/configs/routing/cloudflared:/etc/cloudflared'
|
||||
- "/mnt/storage/configs/routing/cloudflared:/etc/cloudflared"
|
||||
networks:
|
||||
- proxy
|
||||
command: tunnel --no-autoupdate --origincert /etc/cloudflared/cert.pem --hostname example.com --no-tls-verify --origin-server-name *.example.com --url https://nginx-proxy-manager:4443
|
||||
user: '1000:1000'
|
||||
user: "1000:1000"
|
||||
|
||||
networks:
|
||||
[...]
|
||||
networks: [...]
|
||||
```
|
||||
|
||||
After deploying, you should notice a new AAAA record on your Cloudflare dashboard. If you want to use any other subdomain, you simply need to add a CNAME alias pointing to that record.
|
||||
@@ -379,7 +374,6 @@ To test if everything is working correctly, add a new CNAME alias for `whoami.ex
|
||||
|
||||

|
||||
|
||||
|
||||
```nginx
|
||||
proxy_set_header Host $server;
|
||||
proxy_set_header X-Forwarded-Proto $forward_scheme;
|
||||
@@ -395,7 +389,7 @@ Wait a couple of minutes for the changes to propagate and you should be able to
|
||||
|
||||
The primary reason why SSL is used is to keep sensitive information sent across the Internet encrypted so that only the intended recipient can access it. One of the main selling points of NPM is automatic SSL certificate management.
|
||||
|
||||
In order to create a wildcard certificate for all of your subdomains, you can follow [this](https://www.reddit.com/r/unRAID/comments/kniuok/howto_add_a_wildcard_certificate_in_nginx_proxy/) guide by [u/Sunsparc](https://www.reddit.com/user/Sunsparc/) on Reddit. After creating your certificate, you should always select it, as well as turn on *Force SSL* and *HTTP/2 Support* on any proxy host you create.
|
||||
In order to create a wildcard certificate for all of your subdomains, you can follow [this](https://www.reddit.com/r/unRAID/comments/kniuok/howto_add_a_wildcard_certificate_in_nginx_proxy/) guide by [u/Sunsparc](https://www.reddit.com/user/Sunsparc/) on Reddit. After creating your certificate, you should always select it, as well as turn on _Force SSL_ and _HTTP/2 Support_ on any proxy host you create.
|
||||
|
||||
## Final Thoughts
|
||||
|
||||
|
@@ -182,6 +182,7 @@ IOMMU Group 8 00:18.7 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Dev
|
||||
IOMMU Group 9 01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GA104M [GeForce RTX 3070 Mobile / Max-Q] [10de:24dd] (rev a1)
|
||||
IOMMU Group 9 01:00.1 Audio device [0403]: NVIDIA Corporation GA104 High Definition Audio Controller [10de:228b] (rev a1)
|
||||
```
|
||||
|
||||
What we mainly care about are the GPU groups, specifically:
|
||||
|
||||
```bash
|
||||
@@ -284,7 +285,6 @@ IOMMU Group 9 00:14.3 ISA bridge [0601]: Advanced Micro Devices, Inc. [AMD] FCH
|
||||
|
||||
## Creating the Hook Scripts
|
||||
|
||||
|
||||
Before doing any passthrough, we need to create the scripts that will allocate the necessary resources to the VM before it boots and de-allocate them after it shuts down. To do that, we are going to be using [libvirt hooks](https://libvirt.org/hooks.html) and The Passthrough Post's [hook helper](https://passthroughpo.st/simple-per-vm-libvirt-hooks-with-the-vfio-tools-hook-helper/). You can find all the needed scripts in this project's [git repository](https://git.karaolidis.com/karaolidis/legion-7-vfio).
|
||||
|
||||
> [!warning]
|
||||
|
@@ -31,6 +31,7 @@ With the help of Paragon's new [NTFS3 driver](https://www.kernel.org/doc/html/la
|
||||
1. Boot using the Arch Install ISO.
|
||||
|
||||
2. Format the target drive. In my case, that's `/dev/sda`. It needs to have a GPT partition table and 2 partitions in total:
|
||||
|
||||
- 1GB EFI Filesystem
|
||||
- The rest of the drive (leave it unallocated for now)
|
||||
|
||||
|
Submodule themes/caldwell updated: 9905066046...d9a3c4b4a1
Reference in New Issue
Block a user