Hi all,
This is my problem:
omv version 6.7.1-2
openmediavault-compose 6.9.9
service > compose > files > edit : var in environment box are not loaded
Hi all,
This is my problem:
omv version 6.7.1-2
openmediavault-compose 6.9.9
service > compose > files > edit : var in environment box are not loaded
Hi all,
This is my problem:
omv version 6.7.1-2
openmediavault-compose 6.9.9
service > compose > files > edit : var in environment box are not loaded
I do not understand the problem. The environment variables must be created by you and entered in that tab.
Here you have the procedure. https://wiki.omv-extras.org/do…l_environmental_variables
Do you mean global environment variables?
I create (input in the tab) them but they are not in action.
For example for vaultwarden docker I put the compose information on the top box and on the below box that:
SIGNUPS_ALLOWED=false
SHOW_PASSWORD_HINT=false
or that:
SIGNUPS_ALLOWED: false
SHOW_PASSWORD_HINT: false
but it is still possible to create a new account (signup)
The file vaultwarden.env is automatically created with the variables above.
I thing my global variables are also ignored.
Sorry for my bad English
Have you created the reference to those variables in your compose file? The operation is the same as in the link I posted for global variables.
You can also see it here. https://docs.docker.com/compos…et-environment-variables/
Those variables are for the app (vaultwarden) not the docker compose file.
See here: https://github.com/dani-garcia…registration-of-new-users
For now the workaround : add environment variable directly on the compose box instead of the environment box
Those variables are for the app (vaultwarden) not the docker compose file.
See here: https://github.com/dani-garcia…registration-of-new-users
For now the workaround : add environment variable directly on the compose box instead of the environment box
That is not a workaround. That's not using the environment variables file. I think you still haven't read the links I gave you.
In any case it is not necessary to use it. If it works for you now you don't need anything else.
Works for me when i add the env_file: to the compose file for the container I want those environment variables to load with. You do not have to reference the environment variables in the compose file if you use the env_file field. OMV adds a .env file using the name you used for the stack.
The plugin automatically adds the .env file it makes using the docker compose --env-file parameter. No need to add env_file to the compose file.
Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!