Skip to content

Instantly share code, notes, and snippets.

View abdulsaheel's full-sized avatar
🎯
Focusing

Mohammad Abdul Sahil abdulsaheel

🎯
Focusing
View GitHub Profile
@abdulsaheel
abdulsaheel / Dockerfile
Created October 21, 2024 05:17
Docker Buildx getting while compiling rust package for arm arch in amd64 host
# Build stage
FROM rust:1.81 as builder
WORKDIR /app
ENV CARGO_NET_GIT_FETCH_WITH_CLI=true
ENV RUSTFLAGS="-C opt-level=0 -C target-feature=+lse -C target-cpu=native"
COPY . .
@abdulsaheel
abdulsaheel / uninstall_coolify.sh
Created February 9, 2025 12:35
Uninstall Coolify bash script
#!/bin/bash
# Stop and remove Coolify containers
echo "Stopping and removing Coolify containers..."
sudo docker stop -t 0 coolify coolify-realtime coolify-db coolify-redis coolify-proxy
sudo docker rm coolify coolify-realtime coolify-db coolify-redis coolify-proxy
# Remove Docker volumes
echo "Removing Coolify Docker volumes..."
sudo docker volume rm coolify-db coolify-redis