Skip to content

Instantly share code, notes, and snippets.

# Service dependencies
REDIS_HOST=redis <-- this should be the name of the redis server you stood up during deployment; it's probably "localhost"!
REDIS_PORT=6379
DB_HOST=db <-- same, but for the database server. it looks like many of your entries in your .env.production are still the default, this should be "localhost" too if you followed the directions
DB_USER= <-- same
DB_NAME= <-- same
DB_PASS= <-- same
DB_PORT=5432
# Federation
package main
import (
"fmt"
"html/template"
"log"
"net/http"
"strings"
"time"
"crypto/md5"