diff --git a/platformifier/templates/upsun/.upsun/config.yaml b/platformifier/templates/upsun/.upsun/config.yaml index 4899fa6..14d44b5 100644 --- a/platformifier/templates/upsun/.upsun/config.yaml +++ b/platformifier/templates/upsun/.upsun/config.yaml @@ -35,13 +35,14 @@ applications: {{ range $key, $value := .Mounts -}} "{{ $key }}": {{ range $key, $value := $value }} + {{- if eq $key "source" -}}{{- $value = $value | replace "local" "storage" -}}{{- end -}} {{- $key }}: "{{ $value }}" {{ end }} {{ end -}} {{- else -}} # mounts: - # "/.cache": # Represents the path in the app. - # source: "local" # "local" sources are unique to the app, while "service" sources can be shared among apps. + # "/storage": # Represents the path in the app. + # source: "shared" # "shared" sources are unique to the app, but shared among instances of the app. "service" sources can be shared among apps. # source_path: "cache" # The subdirectory within the mounted disk (the source) where the mount should point. {{- end }}