mirror of
https://github.com/MatthewL246/pretendo-docker.git
synced 2026-09-12 13:28:37 -05:00
Set the database servers to restart
This commit is contained in:
3
.github/workflows/test.yml
vendored
3
.github/workflows/test.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user