Use bind mount for arch repo. Couldn't find another way past permission issues
This commit is contained in:
parent
557eeb705d
commit
382bfad14c
|
@ -3,7 +3,6 @@ data = {}
|
|||
config = {}
|
||||
wkd = {}
|
||||
korhonen_cc = {}
|
||||
index = {}
|
||||
|
||||
[volumes.nextcloud_config]
|
||||
external = true
|
||||
|
@ -20,8 +19,8 @@ volumes = [
|
|||
"config:/config",
|
||||
"wkd:/var/www/wkd",
|
||||
"korhonen_cc:/var/www/korhonen.cc",
|
||||
"index:/var/www/index.korhonen.cc",
|
||||
"nextcloud_config:/var/www/nextcloud",
|
||||
"/var/www/index.korhonen.cc:/var/www/index.korhonen.cc",
|
||||
]
|
||||
environment = ["CLOUDFLARE_EMAIL", "CLOUDFLARE_API_TOKEN", "ACME_AGREE=true"]
|
||||
|
||||
|
|
|
@ -10,7 +10,7 @@ LocalFileSigLevel = Optional
|
|||
CacheDir = /var/cache/pacman/pkg
|
||||
{%@@ if profile == "Moria" @@%}
|
||||
CleanMethod=KeepCurrent
|
||||
CacheDir= /var/lib/docker/volumes/caddy_index/_data/repo/arch_linux/korhonen_aur/x86_64
|
||||
CacheDir= /var/www/index.korhonen.cc/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/lib/docker/volumes/caddy_index/_data/repo/arch_linux/$repo/$arch
|
||||
Server = file:///var/www/index.korhonen.cc/repo/arch_linux/$repo/$arch
|
||||
{%@@ else @@%}
|
||||
Include = /etc/pacman.d/pacserve
|
||||
Server = https://index.korhonen.cc/repo/arch_linux/$repo/$arch
|
||||
|
|
Loading…
Reference in a new issue