fix ddns build
This commit is contained in:
parent
9f4442db79
commit
abcdc9ecd3
4 changed files with 11 additions and 4 deletions
|
@ -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"]
|
||||
|
|
|
@ -5,7 +5,7 @@ volumes:
|
|||
|
||||
services:
|
||||
ddns:
|
||||
restart: unless-stopped
|
||||
restart: no
|
||||
build:
|
||||
context: ..
|
||||
dockerfile: docker/ddns/Dockerfile
|
||||
|
|
|
@ -3,6 +3,7 @@ cache-ttl=0
|
|||
loglevel=7
|
||||
log-dns-details=yes
|
||||
disable-axfr=yes
|
||||
pipe-abi-version=1
|
||||
|
||||
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
|
||||
|
||||
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 a new issue