We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi all,
Is there a way to read PORKBUN_API_KEY and PORKBUN_API_SECRET_KEY from secret files created by Docker?
PORKBUN_API_KEY
PORKBUN_API_SECRET_KEY
The text was updated successfully, but these errors were encountered:
Yes, I do it like this:
services: caddy: container_name: caddy build: context: ./ target: caddy ports: - "80:80" - "443:443" environment: - PORKBUN_API_KEY=${PORKBUN_API_KEY} - PORKBUN_API_SECRET_KEY=${PORKBUN_API_SECRET_KEY}
PORKBUN_API_KEY="yourKeyHere" PORKBUN_API_SECRET_KEY="youSecretKeyHere"
I place the .env file next to the compose file. It reads the env and uses the values from .env file within the compose file.
Sorry, something went wrong.
No branches or pull requests
Hi all,
Is there a way to read
PORKBUN_API_KEY
andPORKBUN_API_SECRET_KEY
from secret files created by Docker?The text was updated successfully, but these errors were encountered: