Skip to content

Instantly share code, notes, and snippets.

View andyantrim's full-sized avatar
💭
Trying to save the world

Andy andyantrim

💭
Trying to save the world
View GitHub Profile
@andyantrim
andyantrim / docker-compose.yaml
Created March 3, 2026 21:41
A docker compose, for automated downloading of lots of linux isos
version: "3.7"
services:
# Nginx Reverse Proxy
# This is not needed, but I want to build a config with this at some
# stage to forward based on sub-domain
nginx:
image: nginx:latest
container_name: nginx_reverse_proxy
@andyantrim
andyantrim / example.py
Created October 15, 2024 10:21
rclone python example
from rclone_python import rclone, remote_types
def create_if_not_exists():
rclone.create_remote(
"s3-local",
remote_type=remote_types.RemoteTypes.s3,
access_key_id="access",
secret_access_key="secretkey",
region="eu-west-1",
endpoint="http://localhost:9000", # Only needed for minio