kopia lustrzana https://github.com/dgtlmoon/changedetection.io
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.
rodzic
5aa1412559
commit
46b14ac344
|
@ -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.
|
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
|
||||||
|
```
|
Ładowanie…
Reference in New Issue