Compare commits
8 Commits
| Author | SHA1 | Date |
|---|---|---|
|
|
753cb98ca3 | |
|
|
b9836c3af2 | |
|
|
27bf52cf3e | |
|
|
5add31ee7a | |
|
|
ab2a7bc8e5 | |
|
|
8b3ded51b5 | |
|
|
302f6464bb | |
|
|
dabfc38a92 |
|
|
@ -1,7 +1,6 @@
|
|||
*.sql.gz
|
||||
.netbox
|
||||
.python-version
|
||||
docker-compose.override.yml
|
||||
*.pem
|
||||
configuration/*
|
||||
!configuration/configuration.py
|
||||
|
|
|
|||
|
|
@ -0,0 +1,21 @@
|
|||
services:
|
||||
netbox:
|
||||
ports:
|
||||
- "8000:8080"
|
||||
# If you want the Nginx unit status page visible from the
|
||||
# outside of the container add the following port mapping:
|
||||
# - "8001:8081"
|
||||
# healthcheck:
|
||||
# Time for which the health check can fail after the container is started.
|
||||
# This depends mostly on the performance of your database. On the first start,
|
||||
# when all tables need to be created the start_period should be higher than on
|
||||
# subsequent starts. For the first start after major version upgrades of NetBox
|
||||
# the start_period might also need to be set higher.
|
||||
# Default value in our docker-compose.yml is 60s
|
||||
# start_period: 90s
|
||||
# environment:
|
||||
# SKIP_SUPERUSER: "false"
|
||||
# SUPERUSER_API_TOKEN: ""
|
||||
# SUPERUSER_EMAIL: ""
|
||||
# SUPERUSER_NAME: ""
|
||||
# SUPERUSER_PASSWORD: ""
|
||||
|
|
@ -1,20 +1,16 @@
|
|||
{
|
||||
"listeners": {
|
||||
"*:8080": {
|
||||
"pass": "routes/main",
|
||||
"forwarded": {
|
||||
"client_ip": "X-Forwarded-For",
|
||||
"protocol": "X-Forwarded-Proto",
|
||||
"source": ["10.0.0.0/8", "172.16.0.0/12", "192.168.0.0/16"]
|
||||
}
|
||||
"0.0.0.0:8080": {
|
||||
"pass": "routes/main"
|
||||
},
|
||||
"*:8081": {
|
||||
"pass": "routes/status",
|
||||
"forwarded": {
|
||||
"client_ip": "X-Forwarded-For",
|
||||
"protocol": "X-Forwarded-Proto",
|
||||
"source": ["10.0.0.0/8", "172.16.0.0/12", "192.168.0.0/16"]
|
||||
}
|
||||
"[::]:8080": {
|
||||
"pass": "routes/main"
|
||||
},
|
||||
"0.0.0.0:8081": {
|
||||
"pass": "routes/status"
|
||||
},
|
||||
"[::]:8081": {
|
||||
"pass": "routes/status"
|
||||
}
|
||||
},
|
||||
"routes": {
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
django-auth-ldap==5.1.0
|
||||
django-auth-ldap==4.8.0
|
||||
django-storages[azure,boto3,dropbox,google,libcloud,sftp]==1.14.4
|
||||
dulwich==0.22.6
|
||||
dulwich==0.22.1
|
||||
python3-saml==1.16.0 --no-binary lxml,xmlsec
|
||||
sentry-sdk[django]==2.19.0
|
||||
sentry-sdk[django]==2.14.0
|
||||
|
|
|
|||
|
|
@ -4,3 +4,4 @@ LOGGING = {
|
|||
}
|
||||
|
||||
DEFAULT_PERMISSIONS = {}
|
||||
LOGIN_REQUIRED = False
|
||||
|
|
|
|||
Loading…
Reference in New Issue