Skip to content

Instantly share code, notes, and snippets.

@Geczy
Geczy / migrate.sh
Last active May 15, 2024 21:35
Migrate Coolify to a new server
#!/bin/bash
# This script will backup your Coolify instance and move everything to a new server. Docker volumes, Coolify database, and ssh keys
# 1. Script must run on the source server
# 2. Have all the containers running that you want to migrate
# Configuration - Modify as needed
sshKeyPath="$HOME/.ssh/your_private_key" # Key to destination server
destinationHost="server.example.com"
@lucianghinda
lucianghinda / api_response.rb
Created March 30, 2024 18:16
Mastodon Client
module Mastodon
ApiResponse = Data.define(:body, :headers, :code, :links)
end