An implementation of the ATProto statusphere example app but in Go

got things working for deploying

Signed-off-by: Will Andrews <did:plc:dadhhalkfcq3gucaq25hjqon>

+35
+4
.dockerignore
··· 1 + statuspherego 2 + database.db 3 + .env 4 + example.env
+19
Dockerfile
··· 1 + FROM golang:alpine AS builder 2 + 3 + WORKDIR /app 4 + 5 + COPY . . 6 + RUN go mod download 7 + 8 + COPY . . 9 + 10 + RUN CGO_ENABLED=0 go build -o statusphere-go ./cmd/main.go 11 + 12 + FROM alpine:latest 13 + 14 + RUN apk --no-cache add ca-certificates 15 + 16 + WORKDIR /app/ 17 + COPY --from=builder /app/statusphere-go . 18 + 19 + ENTRYPOINT ["./statusphere-go"]
+12
docker-compose.yaml
··· 1 + services: 2 + statusphere-go: 3 + platform: linux/amd64 4 + container_name: statusphere-go 5 + image: willdot/statusphere-go:latest 6 + environment: 7 + ENV_LOCATION: "/app/data/statusphere-go.env" 8 + volumes: 9 + - ./data:/app/data 10 + ports: 11 + - "3005:3005" 12 + restart: always