This file contains 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
# 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 |
This file contains 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
package main | |
import ( | |
"fmt" | |
"html/template" | |
"log" | |
"net/http" | |
"strings" | |
"time" | |
"crypto/md5" |