Skip to content

Instantly share code, notes, and snippets.

View bresnow's full-sized avatar
👺
Jack of All Asses

Floating Mammoth bresnow

👺
Jack of All Asses
View GitHub Profile
@bresnow
bresnow / gun-peer.yml
Last active October 14, 2021 17:31
Docker Swarm deployment of a Gun database peer with traefik labels.
version: '3'
services:
# Docker Swarm Gun Peer. To deploy traefik follow recipe at https://dockerswarm.rocks/traefik/
# NOTE: This certresolver is 'http' not 'le'
gun:
image: gundb/gun:latest
networks:
- gun
- traefik-public
@bresnow
bresnow / ghost-vps.sh
Last active June 19, 2021 04:54
Install Ghost - Ubuntu 20.04
init(){
GHOST_USER='<your-un>' # <----- change
GHOST_DIR='/var/www/ghost'
GHOST_URL='https://<your-domain>' # <----- change the domain. leave the 'https://'
DB_HOST="localhost"
DB_PASSWD=$(print_random_string 20)
}
print_random_string()
{
@bresnow
bresnow / keybase.md
Last active September 10, 2020 02:12

Keybase proof

I hereby claim:

  • I am bresnow on github.
  • I am bresnow (https://keybase.io/bresnow) on keybase.
  • I have a public key ASAnMjsIecn1GicTQFySCNJ7zFBfDydlmrOam-GY7XZpCgo

To claim this, I am signing this object: