mirror of
https://github.com/netbox-community/netbox-docker.git
synced 2025-06-12 13:06:39 +02:00
Updated Deployment (markdown)
parent
cc184a1a23
commit
900d4f6a0f
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user