Docker: migrate repo, index and website to docker volumes
This commit is contained in:
parent
37366f5652
commit
eae8a1dfe1
3 changed files with 11 additions and 11 deletions
|
@ -10,7 +10,7 @@ LocalFileSigLevel = Optional
|
|||
CacheDir = /var/cache/pacman/pkg
|
||||
{%@@ if profile == "Moria" @@%}
|
||||
CleanMethod=KeepCurrent
|
||||
CacheDir=/var/www/index.korhonen.cc/repo/arch_linux/korhonen_aur/x86_64
|
||||
CacheDir= /var/lib/docker/volumes/caddy_index/_data/repo/arch_linux/korhonen_aur/x86_64
|
||||
{%@@ endif @@%}
|
||||
|
||||
[core]
|
||||
|
@ -27,7 +27,7 @@ Include = /etc/pacman.d/mirrorlist
|
|||
|
||||
[korhonen_aur]
|
||||
{%@@ if profile == "Moria" @@%}
|
||||
Server = file:///var/www/index.korhonen.cc/repo/arch_linux/$repo/$arch
|
||||
Server = file:///var/lib/docker/volumes/caddy_index/_data/repo/arch_linux/$repo/$arch
|
||||
{%@@ else @@%}
|
||||
Include = /etc/pacman.d/pacserve
|
||||
Server = https://index.korhonen.cc/repo/arch_linux/$repo/$arch
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue