Skip to content

Instantly share code, notes, and snippets.

View Cyberistic's full-sized avatar

Cyberistic Cyberistic

View GitHub Profile
@Cyberistic
Cyberistic / README.md
Created December 30, 2025 06:39
pgbackweb-coolify

PGBackWeb for Coolify

Deploy PGBackWeb on Coolify and backup multiple PostgreSQL databases to S3-compatible storage buckets. Best for when db is defined in a monorepo docker-compose and coolify cannot auto-detect it.

Quick Start

  1. In Coolify, create a new ServiceDocker Compose
  2. Paste the docker-compose.yml content
  3. Deploy - Coolify handles the rest
  4. Under services, find pgbackweb and assign domain, make sure to add port 8085 (eg. pgbackweb.yourdomain.com:8085)
@Cyberistic
Cyberistic / index.js
Created August 19, 2025 05:30
Expo Notifications CloudFlare Worker Relay
/**
* Cloudflare Worker to relay push notifications to Expo
* Acts as a proxy between our server and https://exp.host/--/api/v2/push/send
*/
// Make sure to generate an API_KEY and store it in your worker secrets
const EXPO_PUSH_URL = "https://exp.host/--/api/v2/push/send";
const EXPO_PUSH_TOKEN_URL = "https://exp.host/--/api/v2/push/getExpoPushToken";