PhilanthropyDataCommons / deploy

Deployment scripts for Philanthropy Data Commons service
GNU Affero General Public License v3.0
2 stars 2 forks source link

Restart containers on reboot #113

Closed bickelj closed 2 months ago

bickelj commented 4 months ago

It appears we hadn't rebooted very often in the past or this issue would have come up then. After reboot, the containers do not seem to have come back. This should be a simple directive in the compose.yml.

bickelj commented 4 months ago

It worked.

bickelj commented 2 months ago

Unfortunately this seemed to work in the test environment the other day but not the prod environment. Perhaps we should try setting to always restart instead of the current setting.

bickelj commented 2 months ago

This appeared to work in that containers came up after sudo reboot now both in test and prod.