diff --git a/Deployment.md b/Deployment.md index beec8ca..431ca4f 100644 --- a/Deployment.md +++ b/Deployment.md @@ -1,6 +1,7 @@ **Important: Also consider [the advice about configuring Netbox for production](configuration#configure-for-production)!** -You may run this image in a cluster such as Docker Swarm, Kubernetes or OpenShift, but this is advanced level. +If run this image in a cluster such as Docker Swarm, Kubernetes or OpenShift, the following will come in extra handy for you. +But these techniques work equally well in the regular _docker-compose_-based approach. In this case, we encourage you to statically configure Netbox by starting from [Netbox's example config file][default-config], and mounting it into your container in the directory `/etc/netbox/config/` using the mechanism provided by your container platform (i.e. [Docker Swarm configs][swarm-config], [Kubernetes ConfigMap][k8s-config], [OpenShift ConfigMaps][openshift-config]). @@ -47,8 +48,9 @@ services: restart: unless-stopped netbox-worker: restart: unless-stopped - nginx: - restart: unless-stopped +# Uncomment if you use NetBox Docker < 0.28.0 +# nginx: +# restart: unless-stopped postgres: restart: unless-stopped redis: @@ -56,7 +58,7 @@ services: redis-cache: restart: unless-stopped ``` -> NOTE: From **version 0.28.0** and above the `nginx` part from the file above must be removed. + ### TLS (HTTPS) We recommend that you deploy TLS.