Last active
December 16, 2018 13:20
-
-
Save jkrnak/f4be0c6216a75c3d3a07adc44dde336d to your computer and use it in GitHub Desktop.
Confd example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# /etc/confd/templates/dotenv.tmpl | |
PASSWORD={{getv "/client-api/database/password"}} | |
USER={{getv "/client-api/database/user"}} | |
MAPS_API_KEY={{getv "/client-api/maps/api/key"}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# /etc/confd/conf.d/dotenv.toml | |
[template] | |
src = "dotenv.tmpl" | |
dest = "/var/www/client-api/.env" | |
keys = [ | |
"/client-api", | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment