I need to localise Settings in the menu, but currently it is not possible.
LocalizationFolder in OrigamSettings cannot be set in Docker ENV configuration file.
Please add it there
I need to localise Settings in the menu, but currently it is not possible.
LocalizationFolder in OrigamSettings cannot be set in Docker ENV configuration file.
Please add it there
It should be possible after this pullrequest is merged.
docker run --env-file "C:\OrigamProjects\IconTest8\Docker\icontest8_Linux.env" ^
-it --name icontest8 ^
-v "C:\OrigamProjects\IconTest8\model":/home/origam/projectData/model ^
-v "C:\OrigamProjects\IconTest8\customAssets":/home/origam/projectData/customAssets ^
-v "C:\OrigamProjects\IconTest8\l10n":/home/origam/projectData/l10n ^
-p 443:443 ^
origam/server:master-latest.linux
env file:
OrigamSettings__DefaultSchemaExtensionId=95e0f016-af6e-4fea-a6a0-80b9360ebb20
OrigamSettings__DatabaseHost=host.docker.internal
OrigamSettings__DatabasePort=1433
OrigamSettings__DatabaseUsername=
OrigamSettings__DatabasePassword=
OrigamSettings__Name=icontest8
OrigamSettings__DatabaseName=icontest8
CustomAssetsConfig__PathToCustomAssetsFolder=/home/origam/projectData/customAssets
CustomAssetsConfig__RouteToCustomAssetsFolder=/customAssets
OrigamSettings__LocalizationFolder=/home/origam/projectData/l10n
DatabaseType=mssql
ExternalDomain_SetOnStart=https://localhost
TZ=Europe/Prague
The pullrequest mentioned above changes the way the env variables are interpreted. Now it will be possible to change anything in the OrigamSettings.config
file with an env variable in this format:
OrigamSettings__{node name}={value}
The same should work with windows containers.