Go to file
2023-10-08 23:12:55 +02:00
calendar_fetcher.py init 2023-10-08 23:12:55 +02:00
config.py init 2023-10-08 23:12:55 +02:00
Dockerfile init 2023-10-08 23:12:55 +02:00
readme.md init 2023-10-08 23:12:55 +02:00
requirements.txt init 2023-10-08 23:12:55 +02:00
webserver.py init 2023-10-08 23:12:55 +02:00

Docker

Build it manually

docker build -t calendar-fetcher .

Run it in a Docker Container

  1. Adjust the parameters in Dockerfile
  2. Build the docker image with docker build -t calendar-fetcher .
  3. Run it with docker run -it --rm -v /volume1/web/calendar-fetcher:/data --name my-calendar-fetcher -p 8014:8014 --label=com.centurylinklabs.watchtower.enable=false calendar-fetcher
  4. Call it in a webbrowser: http://localhost:8014

replace existing Docker Container (Update)

docker build -t calendar-fetcher .
docker stop calendar-fetcher
docker rm calendar-fetcher
docker run -d -P --name calendar-fetcher -p 8014:8014 -v /volume1/web/smartmirror/data:/data --label=com.centurylinklabs.watchtower.enable=false calendar-fetcher