feat(docker): add healthcheck and wget dependency
Adds a healthcheck endpoint and updates Dockerfile/README to include wget and define healthcheck logic.
This commit is contained in:
22
README.md
22
README.md
@@ -189,3 +189,25 @@ keeps most behavior easy to follow from the Go handlers and the small browser
|
||||
scripts.
|
||||
|
||||
For a short implementation overview, see [docs/tech.md](docs/tech.md).
|
||||
|
||||
## Docker / Podman
|
||||
|
||||
If you are using Podman, please pay attention in the [docker-compose.yml](./docker-compose.example.yml) example
|
||||
file that has been provided, there's comments in regards to differences between the two.
|
||||
|
||||
|
||||
When it comes to building the image, please make sure that you basically set the `--format docker` in the podman
|
||||
build command, otherwise it won't have HealthChecks and other issues might arise.
|
||||
|
||||
Tip: Put the following in `~/.config/containers/containers.conf`
|
||||
```toml
|
||||
[engine]
|
||||
image_default_format = "docker"
|
||||
```
|
||||
|
||||
For just running the docker-compose.yml with docker image format:
|
||||
```bash
|
||||
BUILDAH_FORMAT=docker podman compose up --build
|
||||
```
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user