Prefer GHCR.io over DockerHub (#245)

* Prefer GHCR.io over DockerHub (DockerHub limits pulls)
pull/263/head
dgtlmoon 3 years ago committed by GitHub
parent 3525f43469
commit 4d0bd58eb1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -41,15 +41,15 @@ Run the python code on your own machine by cloning this repository, or with <a h
### Docker ### Docker
Check out our Docker hub page https://hub.docker.com/r/dgtlmoon/changedetection.io _Note:_ We also use GitHub's container repository, because DockerHub has limited pull/downloads.
With Docker composer, just clone this repository and With Docker composer, just clone this repository and..
```bash ```bash
$ docker-compose up -d $ docker-compose up -d
``` ```
Docker standalone Docker standalone
```bash ```bash
$ docker run -d --restart always -p "127.0.0.1:5000:5000" -v datastore-volume:/datastore --name changedetection.io dgtlmoon/changedetection.io $ docker run -d --restart always -p "127.0.0.1:5000:5000" -v datastore-volume:/datastore --name changedetection.io ghcr.io/dgtlmoon/changedetection.io
``` ```
### Python Pip ### Python Pip
@ -69,10 +69,10 @@ _Now with per-site configurable support for using a fast built in HTTP fetcher o
### Docker ### Docker
``` ```
docker pull dgtlmoon/changedetection.io docker pull ghcr.io/dgtlmoon/changedetection.io
docker kill $(docker ps -a|grep changedetection.io|awk '{print $1}') docker kill $(docker ps -a|grep changedetection.io|awk '{print $1}')
docker rm $(docker ps -a|grep changedetection.io|awk '{print $1}') docker rm $(docker ps -a|grep changedetection.io|awk '{print $1}')
docker run -d --restart always -p "127.0.0.1:5000:5000" -v datastore-volume:/datastore --name changedetection.io dgtlmoon/changedetection.io docker run -d --restart always -p "127.0.0.1:5000:5000" -v datastore-volume:/datastore --name changedetection.io ghcr.io/dgtlmoon/changedetection.io
``` ```
### docker-compose ### docker-compose

@ -1,7 +1,7 @@
version: '2' version: '2'
services: services:
changedetection.io: changedetection.io:
image: dgtlmoon/changedetection.io image: ghcr.io/dgtlmoon/changedetection.io
container_name: changedetection.io container_name: changedetection.io
hostname: changedetection.io hostname: changedetection.io
volumes: volumes:

Loading…
Cancel
Save