If you run a larger Minecraft server with modpacks, you may want the server to automatically start back up in case it ever turns off due to mod issues or other unrelated issues. With this guide, you'll be able to accomplish this.
1. Open the File Manager
2. Right click docker-compose.yml
and click Edit
3. Under image: itzg/minecraft-server:latest
add the line: restart: unless-stopped
4. Save the Basic Server Settings