From 6f62b91f34f232c72820e41425dc339f33b6a170 Mon Sep 17 00:00:00 2001 From: "oleg.vodyanov91@gmail.com" Date: Wed, 23 Apr 2025 00:09:32 +0400 Subject: [PATCH] fix --- command | 3 ++- running.sh | 5 +++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/command b/command index 4d5ce67..c9793a4 100644 --- a/command +++ b/command @@ -22,8 +22,9 @@ docker run --rm --network app-net --name instagram_links_app \ docker run -d \ --name watchtower_app \ -v /var/run/docker.sock:/var/run/docker.sock \ +-v /root/.docker/config.json:/config.json \ containrrr/watchtower \ -instagram_links_app +--interval 30 instagram_links_app pip install gunicorn diff --git a/running.sh b/running.sh index df0f1fd..718396c 100755 --- a/running.sh +++ b/running.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash +rm -rf /staticFiles && \ python manage.py collectstatic && \ - python manage.py migrate && \ - gunicorn wsgi:application --bind 0.0.0.0:8000 \ No newline at end of file +python manage.py migrate && \ +gunicorn wsgi:application --bind 0.0.0.0:8000 \ No newline at end of file