init commit
This commit is contained in:
63
README.md
Normal file
63
README.md
Normal file
@@ -0,0 +1,63 @@
|
||||
# Headquarters
|
||||
|
||||
Services
|
||||
|
||||
- traefik as front end proxy, tls, and http3
|
||||
- traefik dashboard behind mtls
|
||||
- squidfunk/mkdocs-material to build static html
|
||||
- nginx to host static html
|
||||
- jellyfin for streaming service
|
||||
|
||||
## Setup
|
||||
|
||||
``` bash
|
||||
docker compose up -d
|
||||
```
|
||||
|
||||
## Requirements
|
||||
|
||||
### Traefik Logging
|
||||
|
||||
expects `/var/log/traefik` to exist
|
||||
|
||||
``` bash
|
||||
sudo mkdir -p /var/log/traefik
|
||||
```
|
||||
|
||||
### Rskio Website
|
||||
|
||||
expects `../rskio/mkdocs` to exist
|
||||
|
||||
``` bash
|
||||
git clone https://github.com/rskntroot/rskio.git
|
||||
```
|
||||
|
||||
### Jellyfin
|
||||
|
||||
expects `/mnt/jellyfin` and `/mnt/media` to exist
|
||||
|
||||
#### setup creds
|
||||
|
||||
``` bash
|
||||
sudo mkdir -p /etc/smb/creds
|
||||
sudo vi /etc/smb/creds/share
|
||||
sudo chmod 600 /etc/smb/creds/share
|
||||
```
|
||||
|
||||
create creds files in the format
|
||||
|
||||
```
|
||||
username=<user>
|
||||
password=<pass>
|
||||
```
|
||||
|
||||
#### edit fstab
|
||||
|
||||
``` zsh
|
||||
vi /etc/fstab
|
||||
```
|
||||
|
||||
``` fstab
|
||||
//192.168.1.179/Media /mnt/media cifs credentials=/etc/smb/creds/media,iocharset=utf8,vers=3.0,uid=1000,gid=1000,file_mode=0660,dir_mode=0770 0 0
|
||||
//192.168.1.179/Jellyfin /mnt/jellyfin cifs credentials=/etc/smb/creds/jellyfin,iocharset=utf8,vers=3.0,uid=1000,gid=1000,file_mode=0660,dir_mode=0770 0 0
|
||||
```
|
||||
Reference in New Issue
Block a user