fix ddns build
This commit is contained in:
parent
9f4442db79
commit
abcdc9ecd3
|
@ -1,3 +1,9 @@
|
||||||
FROM golang:1.7-onbuild
|
FROM golang:1.7
|
||||||
|
|
||||||
|
WORKDIR /go/src/github.com/pboehm/ddns
|
||||||
|
COPY . .
|
||||||
|
|
||||||
|
RUN go-wrapper download # "go get -d -v ./..."
|
||||||
|
RUN go-wrapper install # "go install -v ."
|
||||||
|
|
||||||
CMD ["/bin/true"]
|
CMD ["/bin/true"]
|
||||||
|
|
|
@ -5,7 +5,7 @@ volumes:
|
||||||
|
|
||||||
services:
|
services:
|
||||||
ddns:
|
ddns:
|
||||||
restart: unless-stopped
|
restart: no
|
||||||
build:
|
build:
|
||||||
context: ..
|
context: ..
|
||||||
dockerfile: docker/ddns/Dockerfile
|
dockerfile: docker/ddns/Dockerfile
|
||||||
|
|
|
@ -3,6 +3,7 @@ cache-ttl=0
|
||||||
loglevel=7
|
loglevel=7
|
||||||
log-dns-details=yes
|
log-dns-details=yes
|
||||||
disable-axfr=yes
|
disable-axfr=yes
|
||||||
|
pipe-abi-version=1
|
||||||
|
|
||||||
launch=pipe
|
launch=pipe
|
||||||
pipe-command=/go/bin/app --domain={{DDNS_DOMAIN}} --soa_fqdn={{DDNS_SOA_DOMAIN}} --redis=redis:6379 {{DDNS_VERBOSE}} backend
|
pipe-command=/go/bin/ddns --domain={{DDNS_DOMAIN}} --soa_fqdn={{DDNS_SOA_DOMAIN}} --redis=redis:6379 {{DDNS_VERBOSE}} backend
|
|
@ -3,4 +3,4 @@ MAINTAINER Philipp Böhm <philipp@pboehm.org>
|
||||||
|
|
||||||
ENV GIN_MODE release
|
ENV GIN_MODE release
|
||||||
|
|
||||||
CMD /go/bin/app --domain=${DDNS_DOMAIN} --redis=redis:6379 web
|
CMD /go/bin/ddns --domain=${DDNS_DOMAIN} --redis=redis:6379 web
|
||||||
|
|
Loading…
Reference in New Issue