Add DJANGO_ALLOWED_HOSTS or things will break.
This commit is contained in:
parent
4ddc3129a9
commit
e730cd9d80
2 changed files with 4 additions and 3 deletions
|
@ -1,6 +1,6 @@
|
|||
class soc::vuln_dashboard(
|
||||
String $hostname = $facts['networking']['fqdn'],
|
||||
String $tag = 'latest',
|
||||
String $allowed_hosts = $facts['networking']['fqdn'],
|
||||
String $docker_tag = 'latest',
|
||||
String $db_datadir = '/opt/vuln-dashboard/dbdata',
|
||||
String $pocs_storage_dir = '/opt/vuln-dashboard/pocsdata',
|
||||
String $sso_service_name = 'dashboard-local',
|
||||
|
|
|
@ -7,7 +7,7 @@ services:
|
|||
container_name: <%= @sso_service_name %>
|
||||
depends_on:
|
||||
- postgres
|
||||
image: dashboard-local:latest
|
||||
image: dashboard-local:<%= @docker_tag %>
|
||||
pull_policy: never
|
||||
environment:
|
||||
DB_NAME: <%= @db_name %>
|
||||
|
@ -17,6 +17,7 @@ services:
|
|||
DB_PORT: <%= @db_port %>
|
||||
CENSYS_API_ID: <%= @censys_api_id %>
|
||||
CENSYS_API_SECRET: <%= @censys_api_secret %>
|
||||
DJANGO_ALLOWED_HOSTS: <%= @allowed_hosts %>
|
||||
ports:
|
||||
- "127.0.0.1:8000:8000"
|
||||
init: true
|
||||
|
|
Loading…
Add table
Reference in a new issue