I have having some compose files describing a simple Django application which consists of three images and five containers.
What I want is to run this stack in production - to have the whole stack begin on boot, and for containers to restart or be recreated if they crash. There aren't any volumes I care about and the containers won't hold any important state and can be recycled at will.
I am thinking to just put restart: always on all my services and make an init script to do docker-compose up -d on boot.
Is there a recommended way to manage a docker-compose stack in production in a robust way?
Can anyone help me with this query ?
Thanks