From 46b14ac34444735978ad04e22e1475e40ab0fe73 Mon Sep 17 00:00:00 2001 From: Rahul D'Costa Date: Wed, 20 Apr 2022 16:39:22 -0400 Subject: [PATCH] Had run into some issues in local development where changes were not being reflected in the Docker server. Wanted to create a section in the troubleshoot page for people running into the same issue. --- Troubleshooting.md | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/Troubleshooting.md b/Troubleshooting.md index df33b37..b0e62cc 100644 --- a/Troubleshooting.md +++ b/Troubleshooting.md @@ -35,3 +35,24 @@ b'{"ok":false,"error_code":400,"description":"Bad Request: message is too long"} ``` You can easily get out of length limitations is you're including `{current_snapshot}` into the Notification Body. + +## Code Changes Not Reflecting? + +If you are making changes to your local repository and they are not showing up in the Docker image, try the following: + +Make sure you’ve tried using Docker composer instead of Docker standalone: +``` +$ docker-compose up -d +``` + +In the likely case that this doesn’t fix the issue, you will need to edit the docker-compose.yml file. Edit the services section so it looks like the following: + +``` +services: +    changedetection: +      build: . +      container_name: changedetection +      hostname: changedetection +      volumes: +        - changedetection-data:/datastore +``` \ No newline at end of file