mirror of
https://github.com/dragonlock2/matthewtran.com.git
synced 2026-06-28 01:58:34 +00:00
non-root smb share
This commit is contained in:
@@ -10,7 +10,7 @@ Services deployed on [matthewtran.com](https://matthewtran.com).
|
||||
- minecraft
|
||||
- minecraft bedrock
|
||||
- terraria
|
||||
- nas (LAN only)
|
||||
- nas (`<server>/share` on LAN)
|
||||
|
||||
## setup
|
||||
|
||||
@@ -26,12 +26,14 @@ Services deployed on [matthewtran.com](https://matthewtran.com).
|
||||
5. Configure, build, and start services.
|
||||
- Create `website/sendgrid.key` with a [SendGrid API key](https://app.sendgrid.com/settings/api_keys).
|
||||
- Create `terraria/password.txt` if needed.
|
||||
- Create `nas/mounts.json` which contains a list of `"<name>":"<directory>"` for the SMB share.
|
||||
- Create `nas/users.json` which contains a list of `"<user>":"<password>"` for the SMB share.
|
||||
- `scripts/setup_repo.py`
|
||||
- Restore backups if needed. Make sure to set correct ownership. For example, `chown -R 2000:2000 website/gitea`.
|
||||
- `docker compose build`
|
||||
- `docker compose up -d`
|
||||
6. Optionally, add additional drives. This script formats the drive as LUKS/BTRFS with the key file stored in `/opt/luks` and auto-mounts on boot. Make sure to backup the key file elsewhere.
|
||||
- `scripts/setup_drive.py <drive> <mount path>`
|
||||
- `scripts/setup_drive.py <drive> <mount>`
|
||||
7. Optionally, run `scripts/setup_peer.py <name>` for each WireGuard client.
|
||||
8. Optionally, add the following DNS entries at the registrar.
|
||||
| hosts | type | data |
|
||||
|
||||
Reference in New Issue
Block a user