main: Begin launch files rewrite

Docker image now on githaven
This commit is contained in:
Gary 2024-03-01 16:16:09 -08:00
parent e013bc4db9
commit d8f398eef9
4 changed files with 4 additions and 21 deletions

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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