Merge branch 'master' of github.com:vishap/scripts

This commit is contained in:
Vahagn Khachatryan
2020-03-08 20:08:44 +00:00
5 changed files with 37 additions and 4 deletions

8
bin/docker-calibre.sh Executable file
View File

@@ -0,0 +1,8 @@
sudo docker create \
--name=calibre --restart=always \
-v /srv/calibre/books:/books \
-v /srv/calibre/config:/calibre-web/config \
-v /etc/localtime:/etc/localtime:ro \
-e PGID=33 -e PUID=33 -p 8095:8083 \
technosoft2000/calibre-web

15
bin/docker-gerbera.sh Executable file
View File

@@ -0,0 +1,15 @@
docker run \
-d \
--net=host \
--name gerbera \
--hostname gerbera \
--restart always \
--volume /srv/gerbera/config:/root/.config \
--volume /srv/gerbera/books:/books \
--volume /srv/gerbera/music:/music \
--volume /srv/gerbera/video:/video \
--volume /mnt/hdd/download/movies:/hdd_video2 \
--volume /mnt/hdd2/public/movies:/hdd_video \
--volume /mnt/hdd/public/music:/hdd_music \
gerbera/gerbera

View File

@@ -2,19 +2,22 @@ Host lusntag
HostName lusntag.vostan.org HostName lusntag.vostan.org
Port 8080 Port 8080
User vahagn User vahagn
PreferredAuthentications publickey
Host yerevak Host yerevak
HostName yerevak.vostan.org HostName yerevak.vostan.org
Port 24 Port 24
User vahagn User vahagn
PreferredAuthentications publickey
Host hrat Host hrat
HostName 192.168.0.4 HostName 192.168.0.4
User vahagn User vahagn
PreferredAuthentications publickey
Host github.com Host github.com
User vishap User vishap
Hostname ssh.github.com Hostname github.com
PreferredAuthentications publickey PreferredAuthentications publickey
IdentityFile ~/.ssh/id_rsa IdentityFile ~/.ssh/id_rsa
Port 443

7
motd/hrat.motd Normal file
View File

@@ -0,0 +1,7 @@
__
\ \ _____ _ _ _ _ ____
/ / / _ | | | | | | | / _ \
/ /___| | |_| |_| |_| | |_| | | |
(______| | \________/\_____/ |_|
|_|

View File

@@ -428,8 +428,7 @@ if filereadable(expand(s:vundle_path.'/README.md'))
let g:airline#extensions#tabline#left_alt_sep = '|' let g:airline#extensions#tabline#left_alt_sep = '|'
let g:airline_powerline_fonts = 1 let g:airline_powerline_fonts = 1
"
"
" "
Plugin 'scrooloose/nerdtree' Plugin 'scrooloose/nerdtree'
let g:NERDTreeQuitOnOpen = 1 let g:NERDTreeQuitOnOpen = 1
@@ -488,6 +487,7 @@ if filereadable(expand(s:vundle_path.'/README.md'))
" Tmux integration. " Tmux integration.
" "
Plugin 'benmills/vimux' Plugin 'benmills/vimux'
" "
" Extends modeline to variables. " Extends modeline to variables.
" Needed by CF5 compile to read options right from file. " Needed by CF5 compile to read options right from file.