mirror of
https://github.com/netbox-community/netbox-docker.git
synced 2025-08-09 00:04:46 +02:00
Updated Version (markdown)
@ -25,21 +25,21 @@ services:
|
|||||||
|
|
||||||
Note thtat you need to also override the `netbox-worker` and `netbox-housekeeping` service definitions to match.
|
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
|
## Alternative via `VERSION` variable
|
||||||
|
|
||||||
To quickly iterate through specific version, you can set the `VERSION` environment 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.
|
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
|
`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).
|
[any tag of the `netboxcommunity/netbox` Docker image on Docker Hub](netbox-dockerhub) or [Quay.io](netbox-quayio).
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
export VERSION=v2.7.1
|
export VERSION=v2.7.1
|
||||||
docker-compose pull netbox
|
docker compose pull netbox
|
||||||
docker-compose up -d
|
docker compose up -d
|
||||||
```
|
```
|
||||||
|
|
||||||
[netbox-github]: https://github.com/netbox-community/netbox/releases
|
[netbox-github]: https://github.com/netbox-community/netbox/releases
|
Reference in New Issue
Block a user