Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add documentation for configuring via ENV Vars #2122

Open
24367dfa opened this issue Feb 1, 2024 · 0 comments · May be fixed by #2143
Open

Add documentation for configuring via ENV Vars #2122

24367dfa opened this issue Feb 1, 2024 · 0 comments · May be fixed by #2143

Comments

@24367dfa
Copy link
Contributor

24367dfa commented Feb 1, 2024

Here i saw that yopass loads configuration from the environment.

I tested it with a simple docker-compose file and would like to add some documentation to the README.

services:
...
  yopass:
    image: jhaals/yopass
    restart: always
    ports:
      - "127.0.0.1:8080:8080"
    environment:
      - MAX_LENGTH=1000
      - PORT=8080
      - MEMCACHED=memcached:11211
...

PS: viper has a function to define an application specific env-var prefix, that might be an option to avoid name conflicts.

@24367dfa 24367dfa linked a pull request Feb 9, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant