Set the database servers to restart

This commit is contained in:
Matthew Lopez
2024-01-14 11:01:45 -05:00
committed by GitHub
parent 8a1a349ffb
commit 4285dbaac9

View File

@@ -27,6 +27,9 @@ jobs:
run: |
yq eval 'del(.services.*.ports)' -i compose.yml
yq eval '.services.*.restart = "no"' -i compose.yml
# The databases seem to crash randomly sometimes in Actions
yq eval '.services.mongodb.restart = "unless-stopped"' -i compose.yml
yq eval '.services.postgres.restart = "unless-stopped"' -i compose.yml
- name: Run the setup script
run: ./setup.sh