Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can we use dokku config:set environment variables? #46

Open
danielpetrica opened this issue Mar 16, 2022 · 0 comments
Open

Can we use dokku config:set environment variables? #46

danielpetrica opened this issue Mar 16, 2022 · 0 comments

Comments

@danielpetrica
Copy link

I'm trying to inject the PHP agent (or any other agent) of new relic inside the containers for better visibility inside my project usage.
I see that I can specify the needed app name and license key using debconf by adding the following code to the apt-debconf file

newrelic-php5 newrelic-php5/application-name string "My App Name"
newrelic-php5 newrelic-php5/license-key string "YOUR_LICENSE_KEY"

But this way, I'll have to hard code my license key and app name inside the git repository.
Can I use the dokku configs assigned to the app instead of hard coding the values?
This way I could use the same git repo for similar projects (for WordPress site for example)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant