From d625c7500c8ddf21c36b3275493c43992b184341 Mon Sep 17 00:00:00 2001 From: Gary Date: Thu, 22 Feb 2024 18:09:33 -0800 Subject: [PATCH] main: change local_install.sh --- notes.md | 2 ++ scripts/local_install.sh | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/notes.md b/notes.md index 855575401..469e19578 100644 --- a/notes.md +++ b/notes.md @@ -1,3 +1,5 @@ sudo docker compose --env-file /data/coolify/source/.env -f /data/coolify/source/docker-compose.yml -f /data/coolify/source/docker-compose.prod.yml up -d --pull always --remove-orphans --force-recreate sudo docker compose --env-file /data/coolify/source/.env -f /data/coolify/source/docker-compose.yml -f /data/coolify/source/docker-compose.prod.yml down + +docker run --pull always -v /data/coolify/source:/data/coolify/source -v /var/run/docker.sock:/var/run/docker.sock --rm ghcr.io/coollabsio/coolify-helper bash -c "LATEST_IMAGE=${1:-} docker compose --env-file /data/coolify/source/.env -f /data/coolify/source/docker-compose.yml -f /data/coolify/source/docker-compose.prod.yml up -d --pull always --remove-orphans --force-recreate" diff --git a/scripts/local_install.sh b/scripts/local_install.sh index d6d53a344..4587a3c53 100644 --- a/scripts/local_install.sh +++ b/scripts/local_install.sh @@ -197,7 +197,7 @@ fi echo -e "-------------" #add directories here that you want to modify -mkdir -p /data/coolify/{source,ssh,applications,databases,backups,services,proxy} +mkdir -p /data/coolify/{source,ssh,applications,databases,backups,services,proxy,tailwind} mkdir -p /data/coolify/ssh/{keys,mux} mkdir -p /data/coolify/proxy/dynamic