From 6af93528086b06ff2e5ad3584a8e45fad4130832 Mon Sep 17 00:00:00 2001 From: Christoph Voigt Date: Tue, 5 Dec 2023 12:42:14 +0100 Subject: [PATCH] improve --- example-2-redis/Dockerfile | 2 +- example-2-redis/env_explorer.wasm | Bin 2468959 -> 2468959 bytes .../{redis => }/runtime-config.toml | 0 example-2-redis/spin.toml | 1 + 4 files changed, 2 insertions(+), 1 deletion(-) rename example-2-redis/{redis => }/runtime-config.toml (100%) diff --git a/example-2-redis/Dockerfile b/example-2-redis/Dockerfile index 178226d..2074187 100644 --- a/example-2-redis/Dockerfile +++ b/example-2-redis/Dockerfile @@ -1,5 +1,5 @@ FROM scratch COPY spin.toml spin.toml -COPY ./redis/runtime-config.toml ./runtime-config.toml +COPY ./runtime-config.toml ./runtime-config.toml COPY ./env_explorer.wasm ./env_explorer.wasm diff --git a/example-2-redis/env_explorer.wasm b/example-2-redis/env_explorer.wasm index d1e63fd1a11f3ba267997fb0eb5c98b6b7a5feae..284ec678c2c2f7bcb767775ce700c3149ab74132 100755 GIT binary patch delta 303 zcmWm2&q@MO7>4oh@D`@G#g7M`>G!jm!Z?$tuO~Mdx`~1X>n5o|-V_6_nt6^LJM!4^ zOrgXb^HO86bDw)&`u-ufzP-D$H#Khh9nx8$ZcOxeBJ`0WIzAQZE28(V&@cLWCRE3t zoeM>1zY2D6FrkG*YS(JwU>y924i1I{YDgMbVAF|#JJ2|I z15Sj5oEtFFfy9Nu!33SXi24q{JjpZrdSo*gregNl*W!T|Gni9aoOnp|laGx|qZ!tFQP*mBtgzLLRJg~b={vfhi-4$qD(E9YbaE!>o)NvD3;IJx zmx9Xpzt@61v~VNnm=oO&rU8d}Sb!v?K!ZilVF?UKLk0vaLl#yb2dj{WH7LM3n6Lqx uum#(&0~Qpa1iNY)*!wSec~EiPTCFOj<4ITgo-g0n(bMqTHkI>ZmnZ*rU}{PL diff --git a/example-2-redis/redis/runtime-config.toml b/example-2-redis/runtime-config.toml similarity index 100% rename from example-2-redis/redis/runtime-config.toml rename to example-2-redis/runtime-config.toml diff --git a/example-2-redis/spin.toml b/example-2-redis/spin.toml index 096c361..eff99e6 100644 --- a/example-2-redis/spin.toml +++ b/example-2-redis/spin.toml @@ -17,5 +17,6 @@ component = "env-explorer" source = "./env_explorer.wasm" key_value_stores = ["default"] environment = {"API_URL" = "http://envvars:8080/api", "HELLO" = "WORLD", "TEST_IS" = "Working" } +files = ["spin.toml", "runtime-config.toml", "env_explorer.wasm"] [component.env-explorer.variables] config_value = "{{ config_value }}"