Saved old version
This commit is contained in:
parent
eddc308055
commit
91e8e10c69
3 changed files with 11 additions and 6 deletions
|
@ -31,10 +31,11 @@ services:
|
||||||
depends_on:
|
depends_on:
|
||||||
- netbox
|
- netbox
|
||||||
ports:
|
ports:
|
||||||
- 8080
|
- 443:8080
|
||||||
volumes:
|
volumes:
|
||||||
- netbox-static-files:/opt/netbox/netbox/static:ro
|
- netbox-static-files:/opt/netbox/netbox/static:ro
|
||||||
- netbox-nginx-config:/etc/netbox-nginx/:ro
|
- netbox-nginx-config:/etc/netbox-nginx/:ro
|
||||||
|
- /etc/cert-client:/etc/cert-client:ro
|
||||||
postgres:
|
postgres:
|
||||||
image: postgres:10.4-alpine
|
image: postgres:10.4-alpine
|
||||||
env_file: env/postgres.env
|
env_file: env/postgres.env
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
|
||||||
daemon off;
|
daemon off;
|
||||||
worker_processes 1;
|
worker_processes 1;
|
||||||
|
|
||||||
|
@ -18,8 +19,10 @@ http {
|
||||||
client_max_body_size 10M;
|
client_max_body_size 10M;
|
||||||
|
|
||||||
server {
|
server {
|
||||||
listen 8080;
|
listen 8080 ssl;
|
||||||
access_log off;
|
access_log off;
|
||||||
|
ssl_certificate /etc/cert-client/star.privatedns.zone.crt;
|
||||||
|
ssl_certificate_key /etc/cert-client/star.privatedns.zone.key;
|
||||||
|
|
||||||
location /static/ {
|
location /static/ {
|
||||||
alias /opt/netbox/netbox/static/;
|
alias /opt/netbox/netbox/static/;
|
||||||
|
|
7
env/netbox.env
vendored
7
env/netbox.env
vendored
|
@ -23,7 +23,8 @@ SECRET_KEY=r8OwDznj!!dci#P9ghmRfdu1Ysxm0AiPeDCQhKE+N_rClfWNj
|
||||||
SKIP_STARTUP_SCRIPTS=false
|
SKIP_STARTUP_SCRIPTS=false
|
||||||
SKIP_SUPERUSER=false
|
SKIP_SUPERUSER=false
|
||||||
SUPERUSER_NAME=admin
|
SUPERUSER_NAME=admin
|
||||||
SUPERUSER_EMAIL=admin@example.com
|
SUPERUSER_EMAIL=noc@patientsky.com
|
||||||
SUPERUSER_PASSWORD=admin
|
SUPERUSER_PASSWORD=eishoongahxiesheiW7u
|
||||||
SUPERUSER_API_TOKEN=0123456789abcdef0123456789abcdef01234567
|
SUPERUSER_API_TOKEN=7afa2f08a9b0a8386f061f2225a8b6a83def294a
|
||||||
WEBHOOKS_ENABLED=true
|
WEBHOOKS_ENABLED=true
|
||||||
|
LOGIN_REQUIRED=true
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue