From 5ad8edce286f783441fe8f68362fb97858475717 Mon Sep 17 00:00:00 2001
From: Logan Koester <logan@logankoester.com>
Date: Wed, 19 Jan 2022 21:14:23 +0700
Subject: [PATCH] Mount static file output path to external storage

---
 waypoint.hcl | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/waypoint.hcl b/waypoint.hcl
index 33c0e0a..fb9faaf 100644
--- a/waypoint.hcl
+++ b/waypoint.hcl
@@ -46,6 +46,10 @@ app "page-recorder" {
         "REDIS_PASSWORD": var.redis_password
       }
 
+      binds = [
+        "/mnt/volume_sgp1_01/${var.name}/static:/app/static"
+      ]
+
       labels = {
         "traefik.http.routers.${var.name}.rule" = "Host(`${var.host}`, `${var.name}.waypoint.smaug.dev`)"
         "traefik.http.routers.${var.name}.entrypoints" = "websecure"