mirror of https://github.com/mpolden/echoip
build: Remove Heroku config
This commit is contained in:
parent
11ad75c2d2
commit
702c1f1e23
|
@ -21,7 +21,3 @@ script:
|
||||||
deploy:
|
deploy:
|
||||||
- provider: script
|
- provider: script
|
||||||
script: make docker-push
|
script: make docker-push
|
||||||
- provider: heroku
|
|
||||||
app: ifconfig-co
|
|
||||||
api_key:
|
|
||||||
secure: IQG/ls5Zu0yua5Ynn5EL9JCPjo1/WcmS0z7BSaXWdgW+JIWFm7oF5z54bUZHl/q1tTuWzAJk59zSTYJijtQqh2Ssl3fLu3uFDwyJSrOuUu1akPlETam8NpdbH4lPkFp75JSDdDXV08c0APmeLL6gqRuTrUuufu69Wigjq4gLo+o=
|
|
||||||
|
|
6
Makefile
6
Makefile
|
@ -60,12 +60,6 @@ docker-test:
|
||||||
docker-push: docker-test docker-multiarch-builder docker-login
|
docker-push: docker-test docker-multiarch-builder docker-login
|
||||||
$(DOCKER) buildx build --platform linux/amd64,linux/arm64,linux/arm/v7 -t $(DOCKER_IMAGE) --push .
|
$(DOCKER) buildx build --platform linux/amd64,linux/arm64,linux/arm/v7 -t $(DOCKER_IMAGE) --push .
|
||||||
|
|
||||||
heroku-run: geoip-download
|
|
||||||
ifndef PORT
|
|
||||||
$(error PORT must be set)
|
|
||||||
endif
|
|
||||||
echoip -C 1000000 -f data/country.mmdb -c data/city.mmdb -a data/asn.mmdb -p -r -H CF-Connecting-IP -H X-Forwarded-For -l :$(PORT)
|
|
||||||
|
|
||||||
xinstall:
|
xinstall:
|
||||||
env GOOS=$(XGOOS) GOARCH=$(XGOARCH) go install ./...
|
env GOOS=$(XGOOS) GOARCH=$(XGOARCH) go install ./...
|
||||||
|
|
||||||
|
|
2
go.mod
2
go.mod
|
@ -1,5 +1,3 @@
|
||||||
// +heroku install ./...
|
|
||||||
// +heroku goVersion go1.13
|
|
||||||
module github.com/mpolden/echoip
|
module github.com/mpolden/echoip
|
||||||
|
|
||||||
go 1.13
|
go 1.13
|
||||||
|
|
|
@ -1,5 +0,0 @@
|
||||||
build:
|
|
||||||
languages:
|
|
||||||
- go
|
|
||||||
run:
|
|
||||||
web: make heroku-run
|
|
Loading…
Reference in New Issue