14 lines
450 B
Bash

{% set VAULT_KEY = getenv("VAULT_KEY") %}
# This file is maintained by remco and populated with data from HashiCorp
# Vault. Changes not done in Vault will be reverted when file gets rendered.
{% for key in ls(VAULT_KEY|add:"/data") %}
{{key}}={{ getv(VAULT_KEY|add:"/data/"|add:key) }}
{% endfor %}
# Only when MODE is not "json-rpc":
# AUTO_RECEIVE_SCHEDULE=0 22 * * *
# Other available defaults
# RESTARTPOLICY=unless-stopped
# TIMEZONE=Etc/UTC