updated running instructions
This commit is contained in:
parent
4f4a4f77cf
commit
242c585119
|
@ -17,10 +17,14 @@ ADD . .
|
|||
# Build birdwatcher
|
||||
RUN make
|
||||
|
||||
# Add birdwatcher to bird
|
||||
FROM ehlers/bird2
|
||||
|
||||
COPY --from=app /src/birdwatcher/birdwatcher-linux-amd64 /usr/bin/birdwatcher
|
||||
ADD etc/birdwatcher/birdwatcher.conf /etc/birdwatcher/birdwatcher.conf
|
||||
|
||||
EXPOSE 29184/tcp
|
||||
EXPOSE 29186/tcp
|
||||
|
||||
ENTRYPOINT ["/usr/bin/birdwatcher", "-config", "/etc/birdwatcher/birdwatcher.conf"]
|
||||
|
||||
|
|
|
@ -128,8 +128,14 @@ You need to add a Large BGP Community just before you filter a route, for exampl
|
|||
|
||||
You can run the birdwatcher for bird2 with docker:
|
||||
|
||||
docker run -v /var/run/bird.ctl:/usr/local/var/run/bird.ctl -it --rm birdwatcher:latest
|
||||
docker pull alicelg/birdwatcher:latest
|
||||
|
||||
docker run -p 29184:29184 -v /var/run/bird.ctl:/usr/local/var/run/bird.ctl -it --rm birdwatcher:latest
|
||||
|
||||
|
||||
Or build your own image:
|
||||
|
||||
docker build . -t alicelg/birdwatcher:latest
|
||||
### Building an RPM
|
||||
|
||||
Building RPMs is supported through [fpm](https://github.com/jordansissel/fpm).
|
||||
|
|
Loading…
Reference in New Issue