Closed kovacs-andras closed 7 months ago
crontab works great:
@reboot (sleep 60s ; cd /netbox/netbox-docker ; /usr/bin/docker compose start )&
I don't think this should be the default for all installations. But you can easily add those restart
options in your docker-compose.override.yml
file.
Dear Team,
Starting containers automatically after a host reboot or sg. similar would be great. But I'm not 100% sure it's necessary with docker-compose.test.yml What do you think?
"no is the default restart policy, and it does not restart a container under any circumstance." https://docs.docker.com/compose/compose-file/compose-file-v3/#restart
This project is great and many thanks for all your work!
Best regards, Andras Kovacs