Recommended way to run a Docker Compose stack in production? -
i have couple of compose files (docker-compose.yml) describing simple django application (five containers, 3 images). i want run stack in production - have whole stack begin on boot, , containers restart or recreated if crash. there aren't volumes care , containers won't hold important state , can recycled @ will. i haven't found information on using docker-compose in production in such way. the documentation helpful doesn't mention starting on boot, , using amazon linux don't (currently) have access docker machine. i'm used using supervisord babysit processes , ensure start on boot up, don't think way docker containers, end being supervised docker daemon? as simple start thinking put restart: always on services , make init script docker-compose -d on boot. there recommended way manage docker-compose stack in production in robust way? edit: i'm looking 'simple' way run equivalent of docker-compose up container stack in robust way....