mirror of
https://github.com/netbox-community/netbox-docker.git
synced 2025-08-08 15:54:44 +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.
|
||||
|
||||
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
|
Reference in New Issue
Block a user