1
0
mirror of https://github.com/NLnetLabs/routinator.git synced 2024-05-19 06:50:04 +00:00

Also expose HTTP in Docker image.

This commit is contained in:
Martin Hoffmann
2019-05-29 16:51:07 +02:00
parent 28dcea2cb2
commit a53a2eae54
2 changed files with 6 additions and 4 deletions

View File

@ -30,5 +30,6 @@ RUN mkdir -p /root/.rpki-cache/tals
#COPY --from=build /tmp/routinator/tals/*.tal /root/.rpki-cache/tals/
EXPOSE 3323/tcp
EXPOSE 8323/tcp
ENTRYPOINT ["routinator"]
CMD ["server", "--rtr", "0.0.0.0:3323"]
CMD ["server", "--rtr", "0.0.0.0:3323", "--http", "0.0.0.0:8323"]

View File

@ -49,11 +49,12 @@ volume that is later reused for the server:
# Create a local directory for the RPKI cache
sudo mkdir -p /etc/routinator/tals
# Review the ARIN terms.
# Run a disposable contains to install TALs.
# Run a disposable container to install TALs.
sudo docker run --rm -v /etc/routinator/tals:/root/.rpki-cache/tals
nlnetlabs/routinator init -f --accept-arin-rpa
# Launch the final detached container named 'routinator' (will listen on 0.0.0.0:3323 and expose that port)
sudo docker run -d --name routinator -p 3323:3323 -v /etc/routinator/tals:/root/.rpki-cache/tals nlnetlabs/routinator
# Launch the final detached container named 'routinator' exposing RTR on
# port 3323 and HTTP on port 8323
sudo docker run -d --name routinator -p 3323:3323 -p 8323:8323 -v /etc/routinator/tals:/root/.rpki-cache/tals nlnetlabs/routinator
```
## RPKI