Closed peb-adr closed 1 year ago
The variables VOTE_DATABASE_*
and MEDIA_DATABASE_*
will stay because the vote service needs both connections at once, which might differ. The media service will keep the variables for consistency with the vote service naming.
The localprod setup needs adjustments, too - I guess this will be done with this issue as well?
localprod works with current main - I think this can just be closed
General
One aim of this issue (and all mentioned ones) is to unify the env vars across the services and cleanup the default environment.
Instead of declaring differing DB connection credentials in separate per-service env vars, The default DB credentials should be overridden in the environment of the relevant service.
Also a need arised to give the possibility to set all secrets paths as absolute ones and independently from each other. So for all secrets an appropriate
*_FILE
variable containing the full absolute path should be introduced.Issues with service-specific requirements are opened in the respective repos.
manage-service specific
For the manage-service specifically this means:
Please make the following changes to the environment variables:
Instead of having
MANAGE_ACTION_HOST
ACTION_HOST
should be set for the manage service overriding the value from the default env.In the default compose template
MEDIA_BLOCK_SIZE
should go from the defaultEnvironment to the media services own environment.The defaultEnvironment should look like follow after changes in all services have been made.