Skip to content

Commit

Permalink
Secure the credential file
Browse files Browse the repository at this point in the history
  • Loading branch information
jaydrogers committed Jan 8, 2025
1 parent f013dd3 commit c6aeaee
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ echo "-----------------------------------------------------------"

# Create Cloudflare configuration file
echo "dns_cloudflare_api_token = $CLOUDFLARE_API_TOKEN" > /cloudflare.ini
chmod 600 /cloudflare.ini

# Run certbot initially to get the certificates
run_certbot
Expand Down

0 comments on commit c6aeaee

Please sign in to comment.