Skip to content

Commit

Permalink
improve
Browse files Browse the repository at this point in the history
  • Loading branch information
voigt committed Dec 5, 2023
1 parent f0c7e5b commit 6af9352
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion example-2-redis/Dockerfile
Original file line number Diff line number Diff line change
@@ -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
Binary file modified example-2-redis/env_explorer.wasm
Binary file not shown.
File renamed without changes.
1 change: 1 addition & 0 deletions example-2-redis/spin.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}"

0 comments on commit 6af9352

Please sign in to comment.