diff --git a/docker-compose.prod.yml b/docker-compose.prod.yml index ace8a29d6..a3102409c 100644 --- a/docker-compose.prod.yml +++ b/docker-compose.prod.yml @@ -6,9 +6,6 @@ services: source: /data/coolify/source/.env target: /var/www/html/.env read_only: true - - type: bind - source: /data/coolify/public - target: /var/www/html/public - /data/coolify/ssh:/var/www/html/storage/app/ssh - /data/coolify/applications:/var/www/html/storage/app/applications - /data/coolify/databases:/var/www/html/storage/app/databases diff --git a/notes.md b/notes.md index 918856c18..f542b65c7 100644 --- a/notes.md +++ b/notes.md @@ -40,10 +40,10 @@ # Alpine Linux git clone https://githaven.org/Shiloh/lasthourcloud.git sudo bash /home/lasthour/lasthourcloud/scripts/local_install.sh sudo bash /home/lasthour/lasthourcloud/scripts/upgrade.sh -Running php artisan optimize:clear clears the cached files, preventing potential issues. +php artisan optimize:clear composer install (or composer update -php artisan cache: clear -php artisan route: cache -php artisan view: clear +php artisan cache:clear +php artisan route:cache +php artisan view:clear npm cache clean --force npm i diff --git a/scripts/local_install.sh b/scripts/local_install.sh index 36f56cb88..dcdd84e6a 100644 --- a/scripts/local_install.sh +++ b/scripts/local_install.sh @@ -212,13 +212,6 @@ cp /home/lasthour/lasthourcloud/docker-compose.yml /data/coolify/source/docker-c cp /home/lasthour/lasthourcloud/docker-compose.prod.yml /data/coolify/source/docker-compose.prod.yml cp /home/lasthour/lasthourcloud/.env.production /data/coolify/source/.env.production cp /home/lasthour/lasthourcloud/scripts/upgrade.sh /data/coolify/source/upgrade.sh -cp -R /home/lasthour/lasthourcloud/public/ /data/coolify/ -cp -R /home/lasthour/lasthourcloud/app/Notifications /data/coolify/ -cp -R /home/lasthour/lasthourcloud/app/Models /data/coolify/ -cp -R /home/lasthour/lasthourcloud/app/Livewire /data/coolify/ -cp -R /home/lasthour/lasthourcloud/resources/views/auth /data/coolify/ -cp /home/lasthour/lasthourcloud/.coolify-logo /data/coolify/.coolify-logo -cp /home/lasthour/lasthourcloud/tailwind.config.js /data/coolify/tailwind/ chown -R 9999:root /data/coolify diff --git a/scripts/upgrade.sh b/scripts/upgrade.sh index dc2f04473..a3fd68ec9 100644 --- a/scripts/upgrade.sh +++ b/scripts/upgrade.sh @@ -13,13 +13,6 @@ cp /home/lasthour/lasthourcloud/docker-compose.yml /data/coolify/source/docker-c cp /home/lasthour/lasthourcloud/docker-compose.prod.yml /data/coolify/source/docker-compose.prod.yml cp /home/lasthour/lasthourcloud/.env.production /data/coolify/source/.env.production cp /home/lasthour/lasthourcloud/scripts/upgrade.sh /data/coolify/source/upgrade.sh -cp -R /home/lasthour/lasthourcloud/public/ /data/coolify/ -cp -R /home/lasthour/lasthourcloud/app/Notifications /data/coolify/ -cp -R /home/lasthour/lasthourcloud/app/Models /data/coolify/ -cp -R /home/lasthour/lasthourcloud/app/Livewire /data/coolify/ -cp -R /home/lasthour/lasthourcloud/resources/views/auth /data/coolify/ -cp /home/lasthour/lasthourcloud/.coolify-logo /data/coolify/.coolify-logo -cp /home/lasthour/lasthourcloud/tailwind.config.js /data/coolify/tailwind/ # Merge .env and .env.production. New values will be added to .env