Commit Graph
11 Commits
Author SHA1 Message Date
Michael Bridgen 8c0c252bf7 Made watch=true the default
It's now left out of the entrypoint arguments, so can be supplied as
an argument when running it.
2014-10-17 11:05:56 +01:00
Michael Bridgen 0749460652 Moved updater into server
While we're only reacting to containers going away, it's more
convenient to bundle the docker events watcher into the server.

I've added a flag to switch it on; and switched it on by default in
the container.

I also implemented `Zone.DeleteRecordsFor(ident)`, which removes all
records for a particular container.

One minor change to the structure of the code is that the Zone is now
constructed *outside* the server, and given to it and the updater.
2014-10-16 15:38:32 +01:00
Michael Bridgen 0fb4bce24d Put both image builds in docker/Makefile 2014-10-16 12:35:05 +01:00
Michael Bridgen 5935159d9d Removed cross-compilation bobbins
Cross-compilation isn't working, and it's misleading to suggest it
does by having these here.
2014-10-13 15:43:38 +01:00
Bryan Boreham c384bee226 Add -tags netgo 2014-10-10 14:27:52 +01:00
Michael Bridgen d48548b1b7 Included -iface in container args
.. since it's now a command line argument, with no default.
2014-10-09 15:17:36 +01:00
Bryan Boreham c3eed5d807 Wait 5 seconds for interface at startup 2014-10-08 09:58:56 +01:00
Bryan Boreham ddccc29b0e Static linking 2014-10-08 09:58:28 +01:00
Michael Bridgen bc5bbd349a Fix up Makefile and main.go for file moves 2014-10-04 15:23:32 +01:00
Michael Bridgen 1ff9f7e9b7 Reformed Dockerfile and Makefile to account for moves 2014-10-03 21:01:45 +01:00
Michael Bridgen 9dcb7e2d73 Separated dockerising from code 2014-10-03 20:55:53 +01:00