mirror of
https://github.com/netbox-community/netbox-docker.git
synced 2024-11-25 01:13:15 +01:00
Fix issue #360 regarding netbox-worker image
parent
ffeb8f63aa
commit
4ed440cf1b
12
LDAP.md
12
LDAP.md
@ -15,7 +15,9 @@ REMOTE_AUTH_BACKEND = 'netbox.authentication.LDAPBackend'
|
||||
|
||||
## Override example
|
||||
|
||||
Among others you can use *docker-compose.override.yml* to inject necessary variables.
|
||||
Among others you can use *docker-compose.override.yml* to inject necessary variables.
|
||||
|
||||
Don't forget that the `netbox-worker` service should use the same image. See [this issue](https://github.com/netbox-community/netbox-docker/issues/360).
|
||||
|
||||
### Example override file for Active Directory
|
||||
|
||||
@ -23,7 +25,7 @@ Among others you can use *docker-compose.override.yml* to inject necessary varia
|
||||
version: "3.4"
|
||||
services:
|
||||
netbox:
|
||||
image: netboxcommunity/netbox:${VERSION-latest-ldap}
|
||||
image: &NetboxImage netboxcommunity/netbox:${VERSION-latest-ldap}
|
||||
environment:
|
||||
AUTH_LDAP_SERVER_URI: "ldaps://domain.com"
|
||||
AUTH_LDAP_BIND_DN: "CN=Netbox,OU=EmbeddedDevices,OU=MyCompany,DC=domain,dc=com"
|
||||
@ -34,6 +36,8 @@ services:
|
||||
AUTH_LDAP_IS_ADMIN_DN: "CN=Network Configuration Operators,CN=Builtin,DC=domain,dc=com"
|
||||
AUTH_LDAP_IS_SUPERUSER_DN: "CN=Domain Admins,CN=Users,DC=domain,dc=com"
|
||||
LDAP_IGNORE_CERT_ERRORS: "false"
|
||||
netbox-worker:
|
||||
image: *NetboxImage
|
||||
```
|
||||
|
||||
### Example override file for OpenLDAP
|
||||
@ -44,7 +48,7 @@ Remember to change `AUTH_LDAP_GROUP_TYPE` to proper value.
|
||||
version: "3.4"
|
||||
services:
|
||||
netbox:
|
||||
image: netboxcommunity/netbox:${VERSION-latest-ldap}
|
||||
image: &NetboxImage netboxcommunity/netbox:${VERSION-latest-ldap}
|
||||
environment:
|
||||
AUTH_LDAP_SERVER_URI: "ldaps://domain.com"
|
||||
AUTH_LDAP_BIND_DN: "cn=netbox,ou=services,dc=domain,dc=com"
|
||||
@ -60,4 +64,6 @@ services:
|
||||
AUTH_LDAP_ATTR_LASTNAME: "sn"
|
||||
AUTH_LDAP_ATTR_FIRSTNAME: "givenName"
|
||||
LDAP_IGNORE_CERT_ERRORS: "false"
|
||||
netbox-worker:
|
||||
image: *NetboxImage
|
||||
```
|
Loading…
Reference in New Issue
Block a user