lasthourcloud/local_launch.csv
2024-07-25 13:04:35 -07:00

1.9 KiB

1Install Docker: https://docs.docker.com/engine/install/ubuntu/
2sudo mkdir data
3sudo mkdir data/{source,ssh,applications,databases,backups,services,proxy}
4sudo mkdir data/ssh/{keys,mux}
5sudo mkdir data/proxy/dynamic
6sudo ssh-keygen -f ssh/keys/id.root@host.docker.internal -t ed25519 -N '' -C root@coolify
7 Add your public SSH key to ~/.ssh/authorized_keys:
8
9 cat /data/lasthour/ssh/keys/id.root@host.docker.internal.pub >>~/.ssh/authorized_keys
10chmod 600 ~/.ssh/authorized_keys
11sudo cp lasthourcloud/docker-compose.yml data/source/
12sudo cp lasthourcloud/docker-compose.prod.yml data/source/
13sudo cp lasthourcloud/.env.production data/source/.env
14sudo cp lasthourcloud/scripts/upgrade.sh data/source/
15sudo cp -r lasthourcloud/public/ data/public
16sudo cp -r lasthourcloud/app/Notifications data/notifications
17sudo cp -r lasthourcloud/app/Models data/notifications
18sudo cp -r lasthourcloud/app/Livewire data/livewire
19sudo cp lasthourcloud/.coolify-logo data/public/coolify
20sudo cp lasthourcloud/tailwind.config.js data/tailwind
21sudo chown -R 9999:root data
22sudo chmod -R 700 data
23sudo docker network create --attachable coolify
24sudo docker compose --env-file data/source/.env -f data/source/docker-compose.yml -f data/source/docker-compose.prod.yml up -d --pull always --remove-orphans --force-recreate