Giter Club home page Giter Club logo

Comments (2)

dubbleb88 avatar dubbleb88 commented on August 29, 2024 1

Okay was able to upgrade but there are a few steps in order to get flask back up and running.

Copy bash scripts (block and unblock) to text editor
copy network.py to text editor
shutdown old container

** I changed name to pihole1 just in case I wanted to startup old one to review

Launch new container with these switches, change where needed ie TimeZone. I actually edited the pihole bash file with the below but you can run manually if wanted.

docker run -d
--name pihole1
-p 53:53/tcp -p 53:53/udp
-p 80:80
-p 443:443
-p 8080:8080
-e TZ="America/Chicago"
-v "$(pwd)/etc-pihole/:/etc/pihole/"
-v "$(pwd)/etc-dnsmasq.d/:/etc/dnsmasq.d/"
--dns=127.0.0.1 --dns=1.1.1.1
--restart=unless-stopped
pihole/pihole

If you want Flask to run with Alexa add following steps:

mkdir /home/network
created/copy bash scripts and modified privileges chmod 744
create/copy network.py and modified priveleges chmod 744

install python3
install pip3
install flask with pip3

from networkchuck.

dubbleb88 avatar dubbleb88 commented on August 29, 2024

Hey Zmatty,

I just installed the old version and ran the commands on this page. It fixed a dns resolution error I was facing and updated to the latest version without having to create a new docker container image:
EDIT
ignore steps above, it breaks this image and it will get stuck in loop restarting. I might have to build new version from scratch and migrate over python scripts and directory.

from networkchuck.

Related Issues (14)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.