This commit is contained in:
Patrick 2024-11-16 20:51:06 +01:00
parent 7b90fc2f3a
commit 20ba94e0d1
2 changed files with 2 additions and 2 deletions

View file

@ -9,4 +9,4 @@ EXPOSE 5000
RUN adduser -D app
USER app
CMD ["gunicorn","-w 2", "-b 0.0.0.0:5000", "wsgi:app"]
CMD ["gunicorn","-w 2", "-b 0.0.0.0:5001", "wsgi:app"]

View file

@ -13,4 +13,4 @@ install:
echo "\nzone \"$(DOMAIN)\" {\n type master;\n file \"/etc/bind/db.$(DOMAIN)\";\n};" | tee -a /etc/bind/named.conf.local
cp zonefile.cnf /etc/bind/db.$(DOMAIN)
docker load -i $(APP).tar
docker run -p 5000:5000 --name $(APP) --restart always -d $(APP)
docker run -p 5001:5001 --name $(APP) --restart always -d $(APP)