Saved old version

This commit is contained in:
Karsten Jakobsen 2020-03-17 21:00:13 +01:00
parent eddc308055
commit 91e8e10c69
3 changed files with 11 additions and 6 deletions

View file

@ -31,10 +31,11 @@ services:
depends_on:
- netbox
ports:
- 8080
- 443:8080
volumes:
- netbox-static-files:/opt/netbox/netbox/static:ro
- netbox-nginx-config:/etc/netbox-nginx/:ro
- /etc/cert-client:/etc/cert-client:ro
postgres:
image: postgres:10.4-alpine
env_file: env/postgres.env

View file

@ -1,3 +1,4 @@
daemon off;
worker_processes 1;
@ -18,8 +19,10 @@ http {
client_max_body_size 10M;
server {
listen 8080;
listen 8080 ssl;
access_log off;
ssl_certificate /etc/cert-client/star.privatedns.zone.crt;
ssl_certificate_key /etc/cert-client/star.privatedns.zone.key;
location /static/ {
alias /opt/netbox/netbox/static/;
@ -33,4 +36,4 @@ http {
add_header P3P 'CP="ALL DSP COR PSAa PSDa OUR NOR ONL UNI COM NAV"';
}
}
}
}

7
env/netbox.env vendored
View file

@ -23,7 +23,8 @@ SECRET_KEY=r8OwDznj!!dci#P9ghmRfdu1Ysxm0AiPeDCQhKE+N_rClfWNj
SKIP_STARTUP_SCRIPTS=false
SKIP_SUPERUSER=false
SUPERUSER_NAME=admin
SUPERUSER_EMAIL=admin@example.com
SUPERUSER_PASSWORD=admin
SUPERUSER_API_TOKEN=0123456789abcdef0123456789abcdef01234567
SUPERUSER_EMAIL=noc@patientsky.com
SUPERUSER_PASSWORD=eishoongahxiesheiW7u
SUPERUSER_API_TOKEN=7afa2f08a9b0a8386f061f2225a8b6a83def294a
WEBHOOKS_ENABLED=true
LOGIN_REQUIRED=true