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 3ea111478e
commit f335adaaed
4 changed files with 5 additions and 26 deletions

View File

@ -1,24 +1,17 @@
version: "3.8"
services:
coolify:
image: "ghcr.io/coollabsio/coolify:${LATEST_IMAGE:-latest}"
image: "githaven.org/shiloh/lasthourcloud:latest"
volumes:
- type: bind
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
- /data/coolify/services:/var/www/html/storage/app/services
- /data/coolify/backups:/var/www/html/storage/app/backups
# - /data/coolify/Notifications:/var/www/html/app/Notifications
# - /data/coolify/Models:/var/www/html/app/Models
# - /data/coolify/Livewire:/var/www/html/app/Livewire
# - /data/coolify/auth:/var/www/html/resources/views/auth
environment:
- APP_ID

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