Add support for supplementary environment values in Chill configuration
Introduced `supplementary_environment_values` in Chill defaults and updated `env_file.env` template to dynamically inject custom environment variables. Added placeholder `docker_secrets` for future secrets management.
This commit is contained in:
@@ -13,6 +13,8 @@ traefik_image_traefik: "traefik:v3.2"
|
||||
# to install or not traefik as front-end
|
||||
traefik_install: true
|
||||
|
||||
docker_secrets: []
|
||||
|
||||
# default chill config for each environment
|
||||
default_chill:
|
||||
chill_environment: main_env
|
||||
@@ -29,6 +31,8 @@ default_chill:
|
||||
- 10.0.0.0/8
|
||||
- 172.16.0.0/12
|
||||
chill_config:
|
||||
# supplementary environment values to set in the in the env file
|
||||
supplementary_environment_values: {}
|
||||
trusted_hosts: 'devpms.samusocial.be '
|
||||
database_host: '172.17.17.71'
|
||||
database_port: '5432'
|
||||
|
||||
@@ -47,3 +47,6 @@ RABBITMQ_URL=amqp://{{ chill.chill_config.rabbitmq_user }}:{{ chill.chill_config
|
||||
DATABASE_URL=postgres://{{ chill.chill_config.database_user }}:{{ chill.chill_config.database_password }}@{% if chill.add_postgres %}database:5432{% else %}{{ chill.chill_config.database_host }}{% endif %}/{{ chill.chill_config.database_name }}?sslmode=prefer&charset=utf8&serverVersion={{ chill.chill_config.database_version }}
|
||||
EDITOR_SERVER={{ chill.chill_config.editor_server }}
|
||||
OVHCLOUD_DSN={{ chill.chill_config.ovhcloud_dsn }}
|
||||
{% for k, v in chill.chill_config.supplementary_environment_values.items() %}
|
||||
{{ k }}="{{ v }}"
|
||||
{% endfor %}
|
||||
|
||||
Reference in New Issue
Block a user