This commit is contained in:
Patrick 2024-11-21 16:20:59 +01:00
parent 9bfffe868f
commit c6d4bcc077

View file

@ -1,5 +1,6 @@
APP=jet-search
DOMAIN=jetsearch.com
PORT=5000
DNS="
zone \"$DOMAIN\" {
type master;
@ -16,4 +17,4 @@ if ! grep -q "$DNS" /etc/bind/named.conf.local; then
echo "$DNS" | tee -a /etc/bind/named.conf.local
fi
cp zonefile.cnf /etc/bind/db.$DOMAIN
docker run -p 5000:5000 --name $APP --restart always -d $APP
docker run -p $PORT:5000 --name $APP --restart always -d $APP