Repository navigation
Unable to load environment variables from my rust framework. #10226
Answered
by
g4lb
Stephan-MC
asked this question in
Q&A
|
Please any one here who can show me how to pass an environment variable to a rust framework ? I tried every possible combination to no avail. here is my config.yml reviewers:
- Stephan-MC
framework:
website: github.com/Stephan-MC/ruvel-ui
github: Stephan-MC/ruvel
version: 0.2.0
language:
engines:
default:
command: /usr/src/app/target/release/server
environment:
PORT: 3000I've also tried passing the |
Answered by
g4lb
Nov 6, 2026
Replies: 1 comment 2 replies
|
{{#environment}}
ENV {{{.}}}
{{/environment}} |
2 replies
Answer selected by
Stephan-MC
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
rust/Dockerfiledoes not useenvironment. Add this afterFROM debian:13-slim:{{#environment}} ENV {{{.}}} {{/environment}}