nitefood / asn

ASN / RPKI validity / BGP stats / IPv4v6 / Prefix / URL / ASPath / Organization / IP reputation / IP geolocation / IP fingerprinting / Network recon / lookup API server / Web traceroute server
MIT License
1.31k stars 159 forks source link

Add support for docker, automatically start in server mode. #49

Closed 33Fraise33 closed 8 months ago

33Fraise33 commented 11 months ago

Hello,

It would be nice to create a docker container for this. Based on alpine and allow to pass environment variables to override the server options.

The start command should run the server option by default.

nitefood commented 11 months ago

Hey @33Fraise33,

thanks for the input! I have no experience with creating and maintaining docker images, but I am aware of an independent one available here.

It'd be awesome if you or @arbal would like to help out contributing a sustainable way to automatically integrate an updated docker image with every new tag/release of asn. Moreso because the current one is slightly out of date (It still doesn't include the DC API fix I pushed in 95c490c2137e3cf25612fca558f41951aedcfbf4).

nitefood commented 8 months ago

initial dockerfile support added with PR #51