Install Docker: https://docs.docker.com/engine/install/ubuntu/ sudo mkdir data sudo mkdir data/{source,ssh,applications,databases,backups,services,proxy} sudo mkdir data/ssh/{keys,mux} sudo mkdir data/proxy/dynamic sudo ssh-keygen -f ssh/keys/id.root@host.docker.internal -t ed25519 -N '' -C root@coolify Add your public SSH key to ~/.ssh/authorized_keys: cat /data/lasthour/ssh/keys/id.root@host.docker.internal.pub >>~/.ssh/authorized_keys chmod 600 ~/.ssh/authorized_keys sudo cp lasthourcloud/docker-compose.yml data/source/ sudo cp lasthourcloud/docker-compose.prod.yml data/source/ sudo cp lasthourcloud/.env.production data/source/.env sudo cp lasthourcloud/scripts/upgrade.sh data/source/ sudo cp -r lasthourcloud/public/ data/public sudo cp -r lasthourcloud/app/Notifications data/notifications sudo cp -r lasthourcloud/app/Models data/notifications sudo cp -r lasthourcloud/app/Livewire data/livewire sudo cp lasthourcloud/.coolify-logo data/ sudo cp lasthourcloud/tailwind.config.js data/ sudo sed -i "s|APP_ID=.*|APP_ID=$(openssl rand -hex 16)|g" data/source/.env sudo sed -i "s|APP_KEY=.*|APP_KEY=base64:$(openssl rand -base64 32)|g" data/source/.env sudo sed -i "s|DB_PASSWORD=.*|DB_PASSWORD=$(openssl rand -base64 32)|g" data/source/.env sudo sed -i "s|REDIS_PASSWORD=.*|REDIS_PASSWORD=$(openssl rand -base64 32)|g" data/source/.env sudo sed -i "s|PUSHER_APP_ID=.*|PUSHER_APP_ID=$(openssl rand -hex 32)|g" data/source/.env sudo sed -i "s|PUSHER_APP_KEY=.*|PUSHER_APP_KEY=$(openssl rand -hex 32)|g" data/source/.env sudo sed -i "s|PUSHER_APP_SECRET=.*|PUSHER_APP_SECRET=$(openssl rand -hex 32)|g" data/source/.env sudo chown -R 9999:root data sudo chmod -R 700 data sudo docker network create --attachable coolify sudo 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