infra: relocate docker-30 compose stack under vms-home/, add garage and frisbee-drills
Move the docker-30 service definitions (gitea, kanidm, vault, zot, nginx, lab-proxy, maru-hleda-byt, fuj-management) into vms-home/ to match the naming convention used for other hosts, and add the new garage object-storage and frisbee-drills services alongside it. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
43
vms-home/docker-30/readme.md
Normal file
43
vms-home/docker-30/readme.md
Normal file
@@ -0,0 +1,43 @@
|
||||
# docker-30
|
||||
|
||||
## taiscale
|
||||
|
||||
```bash
|
||||
# Add signing key
|
||||
curl -fsSL https://pkgs.tailscale.com/stable/ubuntu/$(lsb_release -cs).noarmor.gpg | sudo tee /usr/share/keyrings/tailscale-archive-keyring.gpg >/dev/null
|
||||
|
||||
# Add repo
|
||||
echo "deb [signed-by=/usr/share/keyrings/tailscale-archive-keyring.gpg] https://pkgs.tailscale.com/stable/ubuntu $(lsb_release -cs) main" | sudo tee /etc/apt/sources.list.d/tailscale.list
|
||||
|
||||
# Install
|
||||
sudo apt update && sudo apt install tailscale
|
||||
|
||||
# Start
|
||||
sudo tailscale up
|
||||
```
|
||||
|
||||
|
||||
## connect nvmeof volume
|
||||
|
||||
```bash
|
||||
nvme discover -t tcp -a 192.168.0.40 -s 4420
|
||||
|
||||
nvme connect -t tcp -a 192.168.0.40 -s 4420 -n nqn.2011-06.com.truenas:uuid:6ac818fb-9f51-4e28-a5d6-41502eba031d:garage-s3
|
||||
|
||||
nvme list
|
||||
|
||||
mkfs.xfs -L garage /dev/nvme0n1
|
||||
mkdir -p /srv/garage
|
||||
mount /dev/disk/by-label/garage /srv/garage
|
||||
mkdir -p /srv/garage/{meta,data,snapshots}
|
||||
|
||||
# add to fstab
|
||||
# LABEL=garage /srv/garage xfs defaults,_netdev,nofail,x-systemd.requires=nvmf-autoconnect.service 0 0
|
||||
|
||||
# /etc/nvme/discovery.conf
|
||||
-t tcp -a <TRUENAS_IP> -s 4420 -n nqn.2011-06.com.truenas:garage-s3
|
||||
systemctl enable nvmf-autoconnect.service
|
||||
|
||||
|
||||
|
||||
```
|
||||
Reference in New Issue
Block a user