I am new to retool and have successfully setup the on-prem on AWS EC2. I follow the instruction to start the server successfully. sudo docker-compose up -d
However, what should I do if I want to auto-restart the on-prem instance upon server starts? I reboot the virtual machine when I ssh in again, it seems some services are up but services such as postgresql is not.
1. Update docker-compose.yml with Restart Policies
Add the restart: always policy to each service in your docker-compose.yml file. This ensures Docker automatically restarts the containers when the host machine reboots.