This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
services: | |
# cloudflare tunnel | |
cloudflare-tunnel: | |
image: cloudflare/cloudflared | |
container_name: cloudflare-tunnel | |
restart: unless-stopped | |
command: tunnel run | |
environment: | |
- "TUNNEL_TOKEN=${CLOUDFLARE_TUNNEL_TOKEN}" #Add varible to environment file |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Set the latest version of Alpine Linux as the base image | |
FROM alpine:latest | |
# Updates the package list in the Alpine package manager and installs the Tor package. | |
RUN apk update && apk add tor | |
# Instructs Tor to send log notices to the standard output | |
RUN echo "Log notice stdout" >> /etc/torrc | |
# Configures Tor to listen for SOCKS connections on all network interfaces (0.0.0.0) on port 9050 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
services: | |
--- | |
qbittorrent: | |
image: lscr.io/linuxserver/qbittorrent:latest | |
container_name: qbittorrent | |
environment: | |
- PUID=1001 | |
- PGID=100 | |
- TZ=${TZ} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
services: | |
rclone-mount: | |
image: rclone/rclone:latest | |
container_name: rclone-mount | |
restart: unless-stopped | |
environment: | |
- RCLONE_CONFIG=/config/.rclone.conf | |
- PUID=1001 | |
- PGID=100 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Exit immediately if a command exits with a non-zero status | |
set -e | |
# Variables (Customize these) | |
BACKUP_REPO="/path/to/backup/repo" # Borg repository location | |
BACKUP_SOURCE="/path/to/backup/source" # Directory to back up | |
PASSPHRASE="your-borg-passphrase" # Borg passphrase (avoid exposing in scripts; use environment variables instead) | |
BACKUP_LOG="/var/log/borg_backup.log" # Log file location |
OlderNewer