Minor fixed.

This commit is contained in:
Otho 2024-02-25 18:58:43 -05:00
parent 97e6514111
commit 6ce86e0937
Signed by: Otho
GPG Key ID: 16C720CD3BBE21D9
5 changed files with 31 additions and 3 deletions

23
README.md Normal file
View File

@ -0,0 +1,23 @@
# Stashapp
Companion app to the stashbox.
## Components
### Trilium Notes
Personal, customizable knowledgebase system using CKEditor.
### Archivebox
Archive web content.
### Filestash (experimental)
Middleware providing browse and share files and use onlyoffice tools.
## Ephemeral Deployment
There is an alternative approach where I could use the
Alpine LBU and the `vm install` command to run a complete
ephemeral deployment each time the vm starts up. I may
look into that, but for now I'm using the sys disk type.

View File

@ -89,6 +89,8 @@ services:
container_name: archivebox
command: server --quick-init 0.0.0.0:8000
environment:
- PUID=1000
- PGID=1000
- VIRTUAL_PORT=8000
- VIRTUAL_HOST=${stashapp_archivebox_domain}
- LETSENCRYPT_HOST=${stashapp_archivebox_domain}

View File

@ -15,7 +15,8 @@ DNSOPTS="-d othostash.com 2603:3015:1003:5621::deed:feed 2001:558:feed::1 2001:5
TIMEZONEOPTS="-z UTC"
PROXYOPTS=none
APKREPOSOPTS="-c1"
USEROPTS="no"
# Doesn't work.
#USEROPTS="-a -u -g audio,video,netdev -k 'ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQDbhgdQui6flN1dXig81JYyWwvmD6ezwCwxHUgAwmNq+ul/hrR49A5twvEDwgSfFnkTW+ZcMHnUZPK2isbxblfKQAIybdeAZecPGaFwVx3Aktr34/ZTyt+NOPxEuPNE+IK1vDhYWLjEBlboPElqC7SQsXzrpRtusfApTIABIoP9JM9Q4n1bsHg8748Y+kXJ5Mf7trW1WCC5lw+8fOvJysI7u5iOWlIf0k7RQedaGZoMtLzxwntEyeve5vnyGQsKHVqmRyHWVWYTf5ZMktquQ0wiK0ua9keGS/iipTlNj4p5uQnnp5oS11sbiHpVy3WJaSt9BMxfg0zmBsH0EH5f6fxpgxYvajEND4UjBsBJ9Du/oMNLzrlExprLte6+TyBKrofe7oU38dbT+xE9TMbBgrryDi87e+xVjEiv/5WYJMyquQxx+cFz3BIv1AhfhiuPlR02YqfTdqkQKgKYDkhfxQ/9ZjZL49+Sr/sSuyt+3y9E/pR/iDLf6l4UknOQKH0o2RE= adamo@threadbox' caes"
SSHDOPTS="-c openssh"
NTPOPTS="-c openntpd"
DISKOPTS="-s 16384 -m sys /dev/nvme0n1"

View File

@ -6,7 +6,7 @@ setup-alpine -f setup-alpine.answers
## /mnt/boot is device /dev/nvme0n1p1
reboot
apk add --update git docker docker-compose
apk add --update git docker docker-compose rsync tmux
# mount -t tmpfs cgroup_root /sys/fs/cgroup
# mkdir -p /sys/fs/cgroup/devices
@ -17,9 +17,11 @@ cgroup_root /sys/fs/cgroup tmpfs defaults 0 0
cgroup /sys/fs/cgroup/devices cgroup defaults,devices 0 0
" >> /etc/fstab
mount /sys/fs/cgroup
mkdir -p /sys/fs/cgroup/devices
mount /sys/fs/cgroup/devices
service docker start
rc-update add docker boot
setup-user -a -a -u -g audio,video,netdev,docker caes
setup-user -a -u -g audio,video,netdev,docker -k 'ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQDbhgdQui6flN1dXig81JYyWwvmD6ezwCwxHUgAwmNq+ul/hrR49A5twvEDwgSfFnkTW+ZcMHnUZPK2isbxblfKQAIybdeAZecPGaFwVx3Aktr34/ZTyt+NOPxEuPNE+IK1vDhYWLjEBlboPElqC7SQsXzrpRtusfApTIABIoP9JM9Q4n1bsHg8748Y+kXJ5Mf7trW1WCC5lw+8fOvJysI7u5iOWlIf0k7RQedaGZoMtLzxwntEyeve5vnyGQsKHVqmRyHWVWYTf5ZMktquQ0wiK0ua9keGS/iipTlNj4p5uQnnp5oS11sbiHpVy3WJaSt9BMxfg0zmBsH0EH5f6fxpgxYvajEND4UjBsBJ9Du/oMNLzrlExprLte6+TyBKrofe7oU38dbT+xE9TMbBgrryDi87e+xVjEiv/5WYJMyquQxx+cFz3BIv1AhfhiuPlR02YqfTdqkQKgKYDkhfxQ/9ZjZL49+Sr/sSuyt+3y9E/pR/iDLf6l4UknOQKH0o2RE= adamo@threadbox' caes