View core.clj
(ns bsp.core
(:require [clojure.repl :refer :all]
[clojure.spec :as spec]
[clojure.test.check :refer [quick-check]]
[clojure.test.check.generators :as gen]
[clojure.test.check.properties :refer [for-all]]
[clojure.test :refer [is are run-tests deftest]]))
(defn ultrasort [coll] (seq (into (sorted-set) coll)))
View docker-compose.yml
# Note: You only need to modify one thing to get this to work
# Change line 14 to reflect where your certificates are stored; certs/cert.pem and certs/key.pem
traefik:
image: traefik
command: --web --docker --docker.watch --docker.domain=localhost --logLevel=DEBUG --entryPoints="Name:https Address::443 TLS:/certs/cert.pem,/certs/key.pem" --entryPoints="Name:http Address::80 Redirect.EntryPoint:https"
ports:
- "80:80"
- "443:443"
- "8080:8080"
View main.go
package main
import (
"fmt"
"os"
"os/exec"
"syscall"
)
func main() {