dockerize

This commit is contained in:
thuanle
2024-07-14 00:14:25 +07:00
parent 1307a1ba29
commit cc8449c7b3
5 changed files with 51 additions and 3 deletions

View File

@@ -5,7 +5,12 @@ var GeoDbSourcePaths = []string{
"https://cdn.jsdelivr.net/npm/@ip-location-db/geolite2-asn/geolite2-asn-ipv4.csv",
}
const GeoDbFolder = "data/"
const (
GeoDbFolder = "data/"
MmdbmeldConfig = "mmdbmeld.yml"
MmdbDbFile = GeoDbFolder + "geoip-v4.mmdb"
)
const MmdbmeldConfig = "mmdbmeld.yml"
const MmdbDbFile = GeoDbFolder + "geoip-v4.mmdb"
const (
ApiDefaultPort = "8080"
)