Skip to content

Commit 7f489aa

Browse files
authored
Improved the README
- adjust the _Quick Start_ section to match the instructions in the _Getting Started_ guide on our wiki - Adds a new _Getting Help_ section - Improvements in explaining the tags of the published Docker image
1 parent 80f514f commit 7f489aa

File tree

1 file changed

+40
-40
lines changed

1 file changed

+40
-40
lines changed

README.md

Lines changed: 40 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@
1212
[The Github repository](netbox-docker-github) houses the components needed to build Netbox as a Docker container.
1313
Images are built using this code and are released to [Docker Hub][netbox-dockerhub] once a day.
1414

15-
Do you have any questions? Before opening an issue on Github, please join the [Network To Code][ntc-slack] Slack and ask for help in our [`#netbox-docker`][netbox-docker-slack] channel.
15+
Do you have any questions?
16+
Before opening an issue on Github, please join the [Network To Code][ntc-slack] Slack and ask for help in our [`#netbox-docker`][netbox-docker-slack] channel.
1617

1718
[github-stargazers]: https://github.com/netbox-community/netbox-docker/stargazers
1819
[github-release]: https://github.com/netbox-community/netbox-docker/releases
@@ -25,16 +26,18 @@ Do you have any questions? Before opening an issue on Github, please join the [N
2526

2627
## Docker Tags
2728

28-
* `vX.Y.Z`: Release builds, built from [releases of Netbox][netbox-releases].
29-
* `latest`: Release builds, built from [`master` branch of Netbox][netbox-master].
30-
* `snapshot`: Pre-release builds, built from the [`develop` branch of Netbox][netbox-develop].
31-
* `develop-X.Y`: Pre-release builds, built from the corresponding [branch of Netbox][netbox-branches].
29+
* `vX.Y.Z`: These are release builds, automatically built from [the corresponding releases of Netbox][netbox-releases].
30+
* `latest`: These are release builds, automatically built from [the `master` branch of Netbox][netbox-master].
31+
* `snapshot`: These are pre-release builds, automatically built from the [`develop` branch of Netbox][netbox-develop].
32+
* `develop-X.Y`: These are pre-release builds, automatically built from the corresponding [branch of Netbox][netbox-branches].
3233

33-
Then there is currently one extra tags for each of the above labels:
34+
Then there is currently one extra tags for each of the above tags:
3435

3536
* `-ldap`: Contains additional dependencies and configurations for connecting Netbox to an LDAP directroy.
3637
[Learn more about that in our wiki][netbox-docker-ldap].
3738

39+
New images are built and published automatically every ~24h.
40+
3841
[netbox-releases]: https://github.com/netbox-community/netbox/releases
3942
[netbox-master]: https://github.com/netbox-community/netbox/tree/master
4043
[netbox-develop]: https://github.com/netbox-community/netbox/tree/develop
@@ -43,42 +46,50 @@ Then there is currently one extra tags for each of the above labels:
4346

4447
## Quickstart
4548

46-
To get Netbox up and running in Docker:
49+
To get Netbox Docker up and running run the following commands.
50+
There is a more complete [_Getting Started_ guide on our wiki][wiki-getting-started] which explains every step.
4751

4852
```bash
4953
git clone -b release https://github.com/netbox-community/netbox-docker.git
5054
cd netbox-docker
55+
tee netbox-docker.override.yml <<EOF
56+
version: '3.4'
57+
services:
58+
nginx:
59+
ports:
60+
- 8000:8080
61+
EOF
5162
docker-compose pull
52-
docker-compose up -d
53-
```
54-
55-
The application will be available after a few minutes.
56-
Use `docker-compose port nginx 8080` to find out where to connect to.
57-
58-
```bash
59-
$ echo "http://$(docker-compose port nginx 8080)/"
60-
http://0.0.0.0:32768/
61-
62-
# Open netbox in your default browser on macOS:
63-
$ open "http://$(docker-compose port nginx 8080)/"
64-
65-
# Open netbox in your default browser on (most) linuxes:
66-
$ xdg-open "http://$(docker-compose port nginx 8080)/" &>/dev/null &
63+
docker-compose up
6764
```
6865

69-
Alternatively, use something like [Reception][docker-reception] to connect to _docker-compose_ projects.
70-
66+
The whole application will be available after a few minutes.
67+
Open the URL `http://0.0.0.0:8000/` in a web-browser.
68+
You should see the Netbox homepage.
69+
In the top-right corner you can login.
7170
The default credentials are:
7271

7372
* Username: **admin**
7473
* Password: **admin**
7574
* API Token: **0123456789abcdef0123456789abcdef01234567**
7675

77-
There is a more complete [Getting Started guide on our Wiki][wiki-getting-started].
78-
7976
[wiki-getting-started]: https://github.com/netbox-community/netbox-docker/wiki/Getting-Started
8077
[docker-reception]: https://github.com/nxt-engineering/reception
8178

79+
## Documentation
80+
81+
Please refer [to our wiki on Github][netbox-docker-wiki] for further information on how to use this Netbox Docker image properly.
82+
It covers advanced topics such as using secret files, deployment to Kubernetes as well as NAPALM and LDAP configuration.
83+
84+
[netbox-docker-wiki]: https://github.com/netbox-community/netbox-docker/wiki/
85+
86+
## Getting Help
87+
88+
Please join [our Slack channel `#netbox-docker`][netbox-docker-slack] on the [Network To Code Slack][ntc-slack].
89+
It's free to use and there are almost always people online that can help.
90+
91+
If you need help with using Netbox or developing for it or against it's API you may find the `#netbox` channel on the same Slack instance very helpful.
92+
8293
## Dependencies
8394

8495
This project relies only on *Docker* and *docker-compose* meeting these requirements:
@@ -88,17 +99,10 @@ This project relies only on *Docker* and *docker-compose* meeting these requirem
8899

89100
To check the version installed on your system run `docker --version` and `docker-compose --version`.
90101

91-
## Documentation
92-
93-
Please refer [to our wiki on Github][netbox-docker-wiki] for further information on how to use this Netbox Docker image properly.
94-
It covers advanced topics such as using secret files, deployment to Kubernetes as well as NAPALM and LDAP configuration.
95-
96-
[netbox-docker-wiki]: https://github.com/netbox-community/netbox-docker/wiki/
102+
## Use a Specific Netbox Version
97103

98-
## Netbox Version
99-
100-
The `docker-compose.yml` file is prepared to run a specific version of Netbox.
101-
To use this feature, set the environment-variable `VERSION` before launching `docker-compose`, as shown below.
104+
The `docker-compose.yml` file is prepared to run a specific version of Netbox, instead of `latest`.
105+
To use this feature, set and export the environment-variable `VERSION` before launching `docker-compose`, as shown below.
102106
`VERSION` may be set to the name of
103107
[any tag of the `netboxcommunity/netbox` Docker image on Docker Hub][netbox-dockerhub].
104108

@@ -141,10 +145,6 @@ For more details on custom builds [consult our wiki][netbox-docker-wiki-build].
141145

142146
[netbox-docker-wiki-build]: https://github.com/netbox-community/netbox-docker/wiki/Build
143147

144-
### Pre-made Docker Images
145-
146-
New Docker images are built and published every 24h.
147-
148148
## Tests
149149

150150
We have a test script.

0 commit comments

Comments
 (0)