summaryrefslogtreecommitdiff
path: root/stacks/edge
diff options
context:
space:
mode:
authorRATDAD <lambda@disroot.org>2025-12-21 17:44:23 -0500
committerRATDAD <lambda@disroot.org>2025-12-21 17:44:23 -0500
commitaf887c36d36bbeae04cc1576587758fb18ee1ef2 (patch)
tree91327754cbe3f65523eb277ebe243e3c5199879b /stacks/edge
parenta50e5d21b0430a734929bc17017cc8c394b25524 (diff)
downloadrds-platform-af887c36d36bbeae04cc1576587758fb18ee1ef2.tar.gz
rds-platform-af887c36d36bbeae04cc1576587758fb18ee1ef2.tar.bz2
rds-platform-af887c36d36bbeae04cc1576587758fb18ee1ef2.zip
Enforcing static volume names for each stack
Diffstat (limited to 'stacks/edge')
-rw-r--r--stacks/edge/.gitignore1
-rw-r--r--stacks/edge/Caddyfile.template8
-rw-r--r--stacks/edge/compose.yml4
3 files changed, 7 insertions, 6 deletions
diff --git a/stacks/edge/.gitignore b/stacks/edge/.gitignore
index 077b892..a63593e 100644
--- a/stacks/edge/.gitignore
+++ b/stacks/edge/.gitignore
@@ -4,3 +4,4 @@
.data/
.config/
Caddyfile
+compose.local.yml
diff --git a/stacks/edge/Caddyfile.template b/stacks/edge/Caddyfile.template
index 23a6498..85ca962 100644
--- a/stacks/edge/Caddyfile.template
+++ b/stacks/edge/Caddyfile.template
@@ -12,18 +12,18 @@
file_server
}
-{$SERVICE0_SUB}.{$DOMAIN}:80 {
+{$SERVICE0_SUB}.{$DOMAIN} {
reverse_proxy {$SERVICE0}:{$SERVICE0_PORT}
}
-{$SERVICE1_SUB}.{$DOMAIN}:80 {
+{$SERVICE1_SUB}.{$DOMAIN} {
reverse_proxy {$SERVICE1}:{$SERVICE1_PORT}
}
-{$SERVICE2_SUB}.{$DOMAIN}:80 {
+{$SERVICE2_SUB}.{$DOMAIN} {
reverse_proxy {$SERVICE2}:{$SERVICE2_PORT}
}
-{$SERVICE3_SUB}.{$DOMAIN}:80 {
+{$SERVICE3_SUB}.{$DOMAIN} {
reverse_proxy {$SERVICE3}:{$SERVICE3_PORT}
}
diff --git a/stacks/edge/compose.yml b/stacks/edge/compose.yml
index 1fc33a7..75baf0d 100644
--- a/stacks/edge/compose.yml
+++ b/stacks/edge/compose.yml
@@ -30,5 +30,5 @@ services:
volumes:
- ${_CADDYFILE:-./Caddyfile}:/etc/caddy/Caddyfile
- ${_WEBROOT:-.srv/}:/srv
- - ${data:-.data/}:/data
- - ${config:-.config/}:/config
+ - data:/data
+ - config:/config