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 = {}
|
config = {}
|
||||||
wkd = {}
|
wkd = {}
|
||||||
korhonen_cc = {}
|
korhonen_cc = {}
|
||||||
index = {}
|
|
||||||
|
|
||||||
[volumes.nextcloud_config]
|
[volumes.nextcloud_config]
|
||||||
external = true
|
external = true
|
||||||
|
@ -20,8 +19,8 @@ volumes = [
|
||||||
"config:/config",
|
"config:/config",
|
||||||
"wkd:/var/www/wkd",
|
"wkd:/var/www/wkd",
|
||||||
"korhonen_cc:/var/www/korhonen.cc",
|
"korhonen_cc:/var/www/korhonen.cc",
|
||||||
"index:/var/www/index.korhonen.cc",
|
|
||||||
"nextcloud_config:/var/www/nextcloud",
|
"nextcloud_config:/var/www/nextcloud",
|
||||||
|
"/var/www/index.korhonen.cc:/var/www/index.korhonen.cc",
|
||||||
]
|
]
|
||||||
environment = ["CLOUDFLARE_EMAIL", "CLOUDFLARE_API_TOKEN", "ACME_AGREE=true"]
|
environment = ["CLOUDFLARE_EMAIL", "CLOUDFLARE_API_TOKEN", "ACME_AGREE=true"]
|
||||||
|
|
||||||
|
|
|
@ -10,7 +10,7 @@ LocalFileSigLevel = Optional
|
||||||
CacheDir = /var/cache/pacman/pkg
|
CacheDir = /var/cache/pacman/pkg
|
||||||
{%@@ if profile == "Moria" @@%}
|
{%@@ if profile == "Moria" @@%}
|
||||||
CleanMethod=KeepCurrent
|
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 @@%}
|
{%@@ endif @@%}
|
||||||
|
|
||||||
[core]
|
[core]
|
||||||
|
@ -27,7 +27,7 @@ Include = /etc/pacman.d/mirrorlist
|
||||||
|
|
||||||
[korhonen_aur]
|
[korhonen_aur]
|
||||||
{%@@ if profile == "Moria" @@%}
|
{%@@ 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 @@%}
|
{%@@ else @@%}
|
||||||
Include = /etc/pacman.d/pacserve
|
Include = /etc/pacman.d/pacserve
|
||||||
Server = https://index.korhonen.cc/repo/arch_linux/$repo/$arch
|
Server = https://index.korhonen.cc/repo/arch_linux/$repo/$arch
|
||||||
|
|
Loading…
Reference in a new issue