Docker Community Forums

Share and learn in the Docker community.

Container with cron job changing config value periodicaly

(Horiz0n) #1

I am trying to build Nginx proxy for S3 bucket supporting AWS v4 Signature. However signing key is valid for 7 days maximum. Based on
Is it possible to create container with built in cron job generating new signing key every 5 days and then replace it in the Nginx config and restart the container?
Or maybe there is different/better way of doing that.