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

Changing default value in azure #1022

Closed
Krashto opened this issue Apr 14, 2023 · 4 comments
Closed

Changing default value in azure #1022

Krashto opened this issue Apr 14, 2023 · 4 comments
Labels

Comments

@Krashto
Copy link

Krashto commented Apr 14, 2023

Checklist

  • [ X] I've searched the project's issues.
  • [ X] I've searched the project's discussions.

❓ Question

How do you change default value in an azure container? I've looked through the azure setup (#277)
Everything works, but the part on the configuration changing language doesn't seem to work for me.
I've tried restarting the container, haven't had any success.

📎 Additional context

image

@github-actions
Copy link

Hello @Krashto, thanks for contributing to the Password Pusher community! We will respond as soon as possible.

@pglombardo
Copy link
Owner

This one is tricky and easy to miss: there needs to be two underscores between PWP and DEFAULT_LOCALE. So to set default locale, the environment variable should be PWP__DEFAULT_LOCALE.

If it helps, copy/paste the variable direction from Configuration.md helps.

Let me know if this fixes is for you.

@pglombardo
Copy link
Owner

Hi @Krashto - did this help? Did you try this out?

@pglombardo
Copy link
Owner

Hi @Krashto since I haven't head back I'm going to close this out. I hope you worked out the issue. That double underscore is required and is easy to miss.

If you have too many environment variables, you can always use a settings.yml file that you mount into the container. Documentation on how to do that is available here:
https://github.com/pglombardo/PasswordPusher/blob/master/Configuration.md#configuring-via-a-custom-settingsyml-file

If any issues remain, please let me know!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants