mirror of
https://github.com/pommee/goaway.git
synced 2026-05-20 00:09:11 -05:00
19 lines
382 B
Makefile
19 lines
382 B
Makefile
DNS_PORT = $(or $(GOAWAY_PORT),53)
|
|
WEBSITE_PORT = $(or $(GOAWAY_WEBSITE_PORT),8080)
|
|
|
|
.PHONY: build start example-queries logs
|
|
|
|
build:
|
|
docker build -t goaway \
|
|
--build-arg DNS_PORT=${DNS_PORT} \
|
|
--build-arg WEBSITE_PORT=${WEBSITE_PORT} \
|
|
.
|
|
|
|
start: build
|
|
DNS_PORT=${DNS_PORT} \
|
|
WEBSITE_PORT=${WEBSITE_PORT} \
|
|
docker compose up goaway -d
|
|
|
|
example-queries:
|
|
@./dig-domains.sh
|