Updated Deployment (markdown)

Christian Mäder 2020-03-17 15:19:03 +01:00
parent 82c1eb5e0e
commit 0604c5d4a5

@ -31,10 +31,38 @@ If a secret is defined by an environment variable and in the respective file at
[k8s-secrets]: https://kubernetes.io/docs/concepts/configuration/secret/
[k8s-config]: https://kubernetes.io/docs/tasks/configure-pod-container/configure-pod-configmap/
## _docker-compose_-based Deployments
If you are about to deploy Netbox using this project's Docker image and _docker-compose_ file on a more permanent basis here you'll find some hints from our community.
**Please make sure you also read the [_Configure for Production_ section of the _Configuration_ wiki page](Configuration#configure-for-production). You need to change the passwords and other secrets!**
### Restart Policy
Add the following to the `docker-compose.override.yml` file. This will ensure, that your containers are started again when the Docker daemon or your server is restarted.
```yml
version: '3.4'
services:
netbox:
restart: unless-stopped
netbox-worker:
restart: unless-stopped
nginx:
restart: unless-stopped
postgres:
restart: unless-stopped
redis:
restart: unless-stopped
redis-cache:
restart: unless-stopped
```
## Community-maintained Deployments
* [Helm Chart][netbox-helm] by @bootc
* [Kubernetes objects][netbox-kubernetes] by @CENGN
See also the [Community Contributions wiki page](etbox-community/netbox/wiki/Community-Contributions) of the Netbox project.
[netbox-kubernetes]: https://github.com/CENGN/netbox-kubernetes
[netbox-helm]: https://github.com/bootc/netbox-chart