frappe_docker
frappe_docker copied to clipboard
docker startup problem
Hello,
compose.traefik.yaml and single-server-example.md did not add startup for production? for example restart: always inside yaml I see only docs/compose/compose.mariadb-shared.yaml have restart: unless-stopped option
Thanks
you can add what you want and send PR.
I see only docs/compose/compose.mariadb-shared.yaml have restart: unless-stopped option
Ok I just want to know if I'm not turning a certain knob so did not apply startup option to the compose yaml file or still no knob at all
if it works then it works!
Send PR if it works.
no is the default restart policy, and it does not restart a container under any circumstance. When always is specified, the container always restarts. The on-failure policy restarts a container if the exit code indicates an on-failure error. unless-stopped always restarts a container, except when the container is stopped (manually or otherwise).
more about restart: https://docs.docker.com/compose/compose-file/compose-file-v3/#restart
This issue has been automatically marked as stale. You have a week to explain why you believe this is an error.