Skip to content

For Production

Don Richards edited this page May 20, 2022 · 4 revisions

Anything developers should be mindful of in a production environment. Security tips for production has its own section. Feel free to add any info that might be useful.

Volumes 💾

Docker volumes are easily destroyed and can be done mistakenly. Assume this will eventually happen. Map any persistent data to named volumes through "Bind Mounts". Not all containers may have this setup and enabled so check it and make the necessary changes.

Dockerfile

Check out Gotchas in Writing Dockerfile