mirror of
https://asciireactor.com/otho/stashapp
synced 2024-11-21 20:35:07 +00:00
Minor fixed.
This commit is contained in:
parent
97e6514111
commit
6ce86e0937
23
README.md
Normal file
23
README.md
Normal 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.
|
@ -89,6 +89,8 @@ services:
|
|||||||
container_name: archivebox
|
container_name: archivebox
|
||||||
command: server --quick-init 0.0.0.0:8000
|
command: server --quick-init 0.0.0.0:8000
|
||||||
environment:
|
environment:
|
||||||
|
- PUID=1000
|
||||||
|
- PGID=1000
|
||||||
- VIRTUAL_PORT=8000
|
- VIRTUAL_PORT=8000
|
||||||
- VIRTUAL_HOST=${stashapp_archivebox_domain}
|
- VIRTUAL_HOST=${stashapp_archivebox_domain}
|
||||||
- LETSENCRYPT_HOST=${stashapp_archivebox_domain}
|
- LETSENCRYPT_HOST=${stashapp_archivebox_domain}
|
||||||
|
@ -15,7 +15,8 @@ DNSOPTS="-d othostash.com 2603:3015:1003:5621::deed:feed 2001:558:feed::1 2001:5
|
|||||||
TIMEZONEOPTS="-z UTC"
|
TIMEZONEOPTS="-z UTC"
|
||||||
PROXYOPTS=none
|
PROXYOPTS=none
|
||||||
APKREPOSOPTS="-c1"
|
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"
|
SSHDOPTS="-c openssh"
|
||||||
NTPOPTS="-c openntpd"
|
NTPOPTS="-c openntpd"
|
||||||
DISKOPTS="-s 16384 -m sys /dev/nvme0n1"
|
DISKOPTS="-s 16384 -m sys /dev/nvme0n1"
|
||||||
|
@ -6,7 +6,7 @@ setup-alpine -f setup-alpine.answers
|
|||||||
## /mnt/boot is device /dev/nvme0n1p1
|
## /mnt/boot is device /dev/nvme0n1p1
|
||||||
reboot
|
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
|
# mount -t tmpfs cgroup_root /sys/fs/cgroup
|
||||||
# mkdir -p /sys/fs/cgroup/devices
|
# 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
|
cgroup /sys/fs/cgroup/devices cgroup defaults,devices 0 0
|
||||||
" >> /etc/fstab
|
" >> /etc/fstab
|
||||||
mount /sys/fs/cgroup
|
mount /sys/fs/cgroup
|
||||||
|
mkdir -p /sys/fs/cgroup/devices
|
||||||
mount /sys/fs/cgroup/devices
|
mount /sys/fs/cgroup/devices
|
||||||
|
|
||||||
service docker start
|
service docker start
|
||||||
rc-update add docker boot
|
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
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user