master -> latest for images

This commit is contained in:
BroodjeAap 2022-12-31 13:44:06 +00:00
parent cf820a7561
commit e58ddc669d

View file

@ -32,15 +32,15 @@ An [XPath](#xpath) filter could also have been used.
## Docker ## Docker
Easiest way to get started is with the prebuilt docker image `ghcr.io/broodjeaap/go-watch:master`, first get a config template: Easiest way to get started is with the prebuilt docker image `ghcr.io/broodjeaap/go-watch:latest`, first get a config template:
`docker run --rm ghcr.io/broodjeaap/go-watch:master -printConfig 2> config.yaml` `docker run --rm ghcr.io/broodjeaap/go-watch:latest -printConfig 2> config.yaml`
After modifying the config to fit your needs, start the docker container After modifying the config to fit your needs, start the docker container
``` ```
docker run \ docker run \
-p 8080:8080 \ -p 8080:8080 \
-v $PWD/:/config \ -v $PWD/:/config \
ghcr.io/broodjeaap/go-watch:master ghcr.io/broodjeaap/go-watch:latest
``` ```
This will start GoWatch with a SQLite database, stored in the `/config` directory, which is probably fine for most use cases. This will start GoWatch with a SQLite database, stored in the `/config` directory, which is probably fine for most use cases.
@ -51,7 +51,7 @@ version: "3"
services: services:
app: app:
image: ghcr.io/broodjeaap/go-watch:master image: ghcr.io/broodjeaap/go-watch:latest
container_name: go-watch container_name: go-watch
environment: environment:
- GOWATCH_DATABASE_DSN=postgres://gorm:gorm@db:5432/gorm - GOWATCH_DATABASE_DSN=postgres://gorm:gorm@db:5432/gorm
@ -89,7 +89,7 @@ When using the docker image, the `HTTP_PROXY` and `HTTPS_PROXY` environment vari
``` ```
services: services:
app: app:
image: ghcr.io/broodjeaap/go-watch:master image: ghcr.io/broodjeaap/go-watch:latest
container_name: go-watch container_name: go-watch
environment: environment:
- HTTP_PROXY=http://proxy.com:1234 - HTTP_PROXY=http://proxy.com:1234
@ -101,7 +101,7 @@ Proxy 'pools' are not directly supported by GoWatch, but can still be set up by
``` ```
services: services:
app: app:
image: ghcr.io/broodjeaap/go-watch:master image: ghcr.io/broodjeaap/go-watch:latest
container_name: go-watch container_name: go-watch
environment: environment:
- HTTP_PROXY=http://squid_proxy:3128 - HTTP_PROXY=http://squid_proxy:3128
@ -134,7 +134,7 @@ version: "3"
services: services:
app: app:
image: ghcr.io/broodjeaap/go-watch:master image: ghcr.io/broodjeaap/go-watch:latest
container_name: go-watch container_name: go-watch
environment: environment:
- GOWATCH_BROWSERLESS_URL=http://browserless:3000/content - GOWATCH_BROWSERLESS_URL=http://browserless:3000/content
@ -156,7 +156,7 @@ version: "3"
services: services:
app: app:
image: ghcr.io/broodjeaap/go-watch:master image: ghcr.io/broodjeaap/go-watch:latest
container_name: go-watch container_name: go-watch
environment: environment:
- GOWATCH_DATABASE_DSN=postgres://gorm:gorm@db:5432/gorm - GOWATCH_DATABASE_DSN=postgres://gorm:gorm@db:5432/gorm
@ -377,7 +377,7 @@ version: "3"
services: services:
app: app:
image: ghcr.io/broodjeaap/go-watch:master image: ghcr.io/broodjeaap/go-watch:latest
container_name: go-watch container_name: go-watch
volumes: volumes:
- /host/path/to/:/config - /host/path/to/:/config