Question: I need help with my dockerfile. I have a these lines: #RUN echo 'SOCIAL _ AUTH _ AZUREAD _ TENANT _ OAUTH 2 _ KEY

I need help with my dockerfile. I have a these lines: #RUN echo 'SOCIAL_AUTH_AZUREAD_TENANT_OAUTH2_KEY ="(REDACTED)"'>> nautobot_config.py
#RUN echo 'SOCIAL_AUTH_AZUREAD_TENANT_OAUTH2_SECRET ="(REDACTED)"'>> nautobot_config.py
#RUN echo 'SOCIAL_AUTH_AZUREAD_TENANT_OAUTH2_TENANT_ID ="(REDACTED)"'>> nautobot_config.py And I want to replace the values (would be in place of the (REDACTED) comment) with docker secrets. I have already made the secrets: ID NAME DRIVER CREATED UPDATED
bnmc50n3ciiytyzbgm5q5qwrn TENANT_ID 17 hours ago 17 hours ago
icqrmsagn1fc1p9dap3apq5h2 TENANT_SECRET 17 hours ago 17 hours ago
fzqtnh5nap4oi6gep3qm7ltbt tenant_key_value 17 hours ago 17 hours ago but i dont know how to reference them in the correct area/line. I am using docker compose build when making changes and docker compose to launch my instance.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Accounting Questions!