Skip to content

Commit 1bd16ce

Browse files
committed
First draft for PRINCIPALS.md, MAINTAINERS.md
1 parent 0d1637b commit 1bd16ce

File tree

3 files changed

+100
-8
lines changed

3 files changed

+100
-8
lines changed

MAINTAINERS.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# Maintainers of _NetBox Docker_
2+
3+
This file lists all currently recognized maintainers of the _NetBox Docker_ project in alphabetical order:
4+
5+
- @cimnine
6+
- @tobiasge
7+
8+
## Stepping Down
9+
10+
Every maintainer is a volunteer and may step down as maintainer at any time without providing any reason.
11+
To make this explicit, the maintainer is asked to update this file.
12+
13+
The last maintainer stepping down is asked to archive the project on GitHub to indicate that the project is no longer maintained.
14+
15+
## Signing up
16+
17+
Everyone is welcome to sign up as maintainer by creating a PR and add their own username to the list.
18+
The current maintainers shall discuss the application.
19+
They may turn down an application.
20+
They shall provide a reason when doing so.

PRINCIPALS.md

Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
# Development, Maintenance and Community Principals for _NetBox Docker_
2+
3+
This principals shall guide the development and the maintenance of _NetBox Docker_.
4+
5+
## Basic principals
6+
7+
This project is maintained on voluntary basis.
8+
Everyone is asked to respect that.
9+
10+
This means, that …
11+
12+
- … sometimes features are not implemented as fast as one might like -- or not at all.
13+
- … sometimes nobody is looking at bugs or they are not fixed as fast as one might like -- or not at all.
14+
- … sometimes PRs are not reviewed for an extended period.
15+
16+
Everyone is welcome to provide improvements and bug fixes to the benefit of everyone else.
17+
18+
## Development Principals
19+
20+
The goal of the _NetBox Docker_ project is to provide a container to run the basic NetBox project.
21+
The container should feel like a native container -- as if it were provided by NetBox itself:
22+
23+
- Configuration via environment variables where feasible.
24+
- Configuration of secrets via secret files.
25+
- Log output to standard out (STDOUT/&1) / standard error (STDERR/&2).
26+
- Volumes for data and cache directories.
27+
- Runs a non-root user by default.
28+
- One process / role for each instance.
29+
30+
There is one exception for the configuration:
31+
Whenever a `dict` is required as value of a configuration setting, then it must not be provided through an environment variable.
32+
33+
The container generally does not provide more features than the basic NetBox project itself provides.
34+
It may provide additional Python dependencies than the upstream project, so that all features of NetBox can be used in the container.
35+
It may provide helpers, so that the container feels and behaves like a native container.
36+
37+
The container does not come with pre-bundled plugins.
38+
39+
## Maintenance Principals
40+
41+
The main goals of maintainig _NetBox Docker_ are:
42+
43+
- Keeping the project on a high quality level.
44+
- Keeping the maintenance effort minimal.
45+
- Coordinating development efforts.
46+
47+
The following guidelines help us to achieve these goals:
48+
49+
- As many maintenance tasks as possible shall be automated or scripted.
50+
- All manual tasks must be documented.
51+
- All changes are reviewed by at least one maintainer.
52+
- Changes of maintainers are reviewed by at least one other maintainer.
53+
- The infrastructure beyond what GitHub provides shall be kept to a minimum.
54+
- On request, every maintainer shall get access to infrastructure that is beyond GitHub (at the time of writing that's _Docker Hub_ and _Quay_ in particular).
55+
56+
## Community Principals
57+
58+
This project is developed by the NetBox community for the NetBox community.
59+
We welcome contributions, as long as they are in line with the principals above.
60+
61+
The maintainers of NetBox Docker are not the support team.
62+
The community is expected to help each other out.

README.md

Lines changed: 18 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,16 @@
88
[![GitHub license](https://img.shields.io/github/license/netbox-community/netbox-docker)][netbox-docker-license]
99

1010
[The GitHub repository][netbox-docker-github] houses the components needed to build NetBox as a container.
11-
Images are built regularly using the code in that repository and are pushed to [Docker Hub][netbox-dockerhub], [Quay.io][netbox-quayio] and [GitHub Container Registry][netbox-ghcr].
11+
Images are built regularly using the code in that repository
12+
and are pushed to [Docker Hub][netbox-dockerhub],
13+
[Quay.io][netbox-quayio] and [GitHub Container Registry][netbox-ghcr].
14+
_NetBox Docker_ is a project developed and maintained by the _NetBox_ community.
1215

1316
Do you have any questions?
1417
Before opening an issue on GitHub,
15-
please join [our Slack][netbox-docker-slack] and ask for help in the [`#netbox-docker`][netbox-docker-slack-channel] channel.
18+
please join [our Slack][netbox-docker-slack]
19+
and ask for help in the [`#netbox-docker`][netbox-docker-slack-channel] channel,
20+
or start a new [GitHub Discussion][github-discussions].
1621

1722
[github-stargazers]: https://github.com/netbox-community/netbox-docker/stargazers
1823
[github-release]: https://github.com/netbox-community/netbox-docker/releases
@@ -24,6 +29,7 @@ please join [our Slack][netbox-docker-slack] and ask for help in the [`#netbox-d
2429
[netbox-docker-slack-channel]: https://netdev-community.slack.com/archives/C01P0GEVBU7
2530
[netbox-slack-channel]: https://netdev-community.slack.com/archives/C01P0FRSXRV
2631
[netbox-docker-license]: https://github.com/netbox-community/netbox-docker/blob/release/LICENSE
32+
[github-discussions]: https://github.com/netbox-community/netbox-docker/discussions
2733

2834
## Quickstart
2935

@@ -53,7 +59,8 @@ To create the first admin user run this command:
5359
docker compose exec netbox /opt/netbox/netbox/manage.py createsuperuser
5460
```
5561

56-
If you need to restart Netbox from an empty database often, you can also set the `SUPERUSER_*` variables in your `docker-compose.override.yml` as shown in the example.
62+
If you need to restart Netbox from an empty database often,
63+
you can also set the `SUPERUSER_*` variables in your `docker-compose.override.yml`.
5764

5865
[wiki-getting-started]: https://github.com/netbox-community/netbox-docker/wiki/Getting-Started
5966

@@ -106,7 +113,7 @@ Feel free to correct errors, update outdated information or provide additional g
106113

107114
Feel free to ask questions in our [GitHub Community][netbox-community]
108115
or [join our Slack][netbox-docker-slack] and ask [in our channel `#netbox-docker`][netbox-docker-slack-channel],
109-
which is free to use and where there are almost always people online that can help you in the Slack channel.
116+
which is free to use and where there are almost always people online that can help you.
110117

111118
If you need help with using NetBox or developing for it or against it's API
112119
you may find [the `#netbox` channel][netbox-slack-channel] on the same Slack instance very helpful.
@@ -126,7 +133,7 @@ To check the version installed on your system run `docker --version` and `docker
126133
## Updating
127134

128135
Please read [the release notes][releases] carefully when updating to a new image version.
129-
Note that the version of the NetBox Docker container image must stay in sync with the code.
136+
Note that the version of the NetBox Docker container image must stay in sync with the version of the git repository.
130137

131138
If you update for the first time, be sure [to follow our _How To Update NetBox Docker_ guide in the wiki][netbox-docker-wiki-updating].
132139

@@ -135,7 +142,8 @@ If you update for the first time, be sure [to follow our _How To Update NetBox D
135142

136143
## Rebuilding the Image
137144

138-
`./build.sh` can be used to rebuild the container image. See `./build.sh --help` for more information.
145+
`./build.sh` can be used to rebuild the container image.
146+
See `./build.sh --help` for more information or `./build-latest.sh` for an example.
139147

140148
For more details on custom builds [consult our wiki][netbox-docker-wiki-build].
141149

@@ -144,13 +152,15 @@ For more details on custom builds [consult our wiki][netbox-docker-wiki-build].
144152
## Tests
145153

146154
We have a test script.
147-
It runs NetBox's own unit tests and ensures that all initializers work:
155+
It runs NetBox's own unit tests and ensures that NetBox starts:
148156

149157
```bash
150-
IMAGE=netboxcommunity/netbox:latest ./test.sh
158+
IMAGE=docker.io/netboxcommunity/netbox:latest ./test.sh
151159
```
152160

153161
## Support
154162

155163
This repository is currently maintained by the community.
164+
The community is expected to help each other.
165+
156166
Please consider sponsoring the maintainers of this project.

0 commit comments

Comments
 (0)