mirror of https://github.com/statping/statping
auto ssl
parent
e118e60b6a
commit
561a1b49e9
|
@ -2,12 +2,7 @@ FROM golang:1.10.3-alpine
|
||||||
|
|
||||||
RUN apk update && apk add git g++
|
RUN apk update && apk add git g++
|
||||||
|
|
||||||
WORKDIR $GOPATH/src/github.com/hunterlong/statup/
|
RUN curl -o /usr/local/bin/statup https://github.com/hunterlong/statup/releases/download/v0.18/statup-linux-x64
|
||||||
RUN go get github.com/GeertJohan/go.rice/rice
|
|
||||||
COPY . $GOPATH/src/github.com/hunterlong/statup/
|
|
||||||
RUN go get
|
|
||||||
RUN rice embed-go
|
|
||||||
RUN go install
|
|
||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
VOLUME /app
|
VOLUME /app
|
||||||
|
|
|
@ -57,7 +57,7 @@ services:
|
||||||
DB_PASS: password123
|
DB_PASS: password123
|
||||||
DB_DATABASE: statup
|
DB_DATABASE: statup
|
||||||
NAME: SSL Example
|
NAME: SSL Example
|
||||||
DESCRIPTION: This Status Status Page should be running ${DOMAIN} with SSL.
|
DESCRIPTION: This Status Status Page should be running ${LETSENCRYPT_HOST} with SSL.
|
||||||
|
|
||||||
postgres:
|
postgres:
|
||||||
container_name: postgres
|
container_name: postgres
|
||||||
|
|
Loading…
Reference in New Issue