Skip to content

Commit

Permalink
feat: Automatically start all coolify stopped containers
Browse files Browse the repository at this point in the history
  • Loading branch information
Guergeiro committed Sep 25, 2024
1 parent 5a55b9e commit 34dca40
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions roles/coolify/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,10 @@
minute: "40"
hour: "4"
job: "docker stop $(docker container ls -q -f 'name=coolify*')"

- name: Start coolify containers every day at 5:00 AM
cron:
name: "Start coolify containers every day at 5:00 AM"
minute: "0"
hour: "5"
job: "docker start $(docker ps -q -f 'status=exited')"

0 comments on commit 34dca40

Please sign in to comment.