mirror of
https://github.com/octoleo/syncthing.git
synced 2024-12-21 10:29:06 +00:00
ba6ac2f604
This adds a small package `geoip` which knows how to download and manage the Maxmind GeoLite2 database we use. This removes the need for various scripts to download and manage the geoip database, something that today happens on Docker startup for the relay pool server and using various hand written hacks for the usage reporting server. The database is downloaded when needed and then refreshed on a best-effort basis weekly.
17 lines
624 B
Docker
17 lines
624 B
Docker
FROM alpine
|
|
ARG TARGETARCH
|
|
|
|
LABEL org.opencontainers.image.authors="The Syncthing Project" \
|
|
org.opencontainers.image.url="https://syncthing.net" \
|
|
org.opencontainers.image.documentation="https://docs.syncthing.net" \
|
|
org.opencontainers.image.source="https://github.com/syncthing/syncthing" \
|
|
org.opencontainers.image.vendor="The Syncthing Project" \
|
|
org.opencontainers.image.licenses="MPL-2.0" \
|
|
org.opencontainers.image.title="Syncthing Relay Pool Server"
|
|
|
|
EXPOSE 8080
|
|
|
|
COPY strelaypoolsrv-linux-${TARGETARCH} /bin/strelaypoolsrv
|
|
|
|
ENTRYPOINT ["/bin/strelaypoolsrv", "-listen", ":8080"]
|