Updated Version (markdown)

kkthxbye
2023-07-28 22:02:19 +02:00
parent 3c22544952
commit 86032214ef

@ -25,21 +25,21 @@ services:
Note thtat you need to also override the `netbox-worker` and `netbox-housekeeping` service definitions to match.
Now pull the Docker image: `docker-compose pull netbox`
Now pull the Docker image: `docker compose pull netbox`
## Alternative via `VERSION` variable
To quickly iterate through specific version, you can set the `VERSION` environment variable.
Make sure that your `docker-compose.override.yml` does not override the `image:` line.
Now set and export the environment-variable `VERSION` before invoking `docker-compose`, as shown below.
Now set and export the environment-variable `VERSION` before invoking `docker compose`, as shown below.
`VERSION` may be set to the name of
[any tag of the `netboxcommunity/netbox` Docker image on Docker Hub](netbox-dockerhub) or [Quay.io](netbox-quayio).
```bash
export VERSION=v2.7.1
docker-compose pull netbox
docker-compose up -d
docker compose pull netbox
docker compose up -d
```
[netbox-github]: https://github.com/netbox-community/netbox/releases