1amends "../../config/Service.pkl"
2
3import "../../config/site.pkl" as site
4
5name = "Zig mirror"
6launcher = false
7stageIsolation = "fresh"
8
9container {
10 build = "build"
11 readOnlyRoot = true
12 capAdd { "FOWNER" }
13 http {
14 containerPort = 8080
15 subdomain = "zig"
16 checkPath = "/health"
17 }
18 volumes {
19 ["/mirror"] { src = if (site.preview) null else "\(site.mediaRoot)/Software/Public/zig" }
20 }
21 env {
22 ["ZIG_MIRROR_ROOT"] = "/mirror"
23 ["ZIG_MIRROR_REFRESH"] = if (site.preview) "0" else "21600"
24 }
25}