From: Trevor Bramwell Date: Tue, 23 Oct 2018 17:52:31 +0000 (-0700) Subject: Fix Missing Static Assets X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=594492e3a759e5e63f9709173595b05034168c53;p=pharos-tools.git Fix Missing Static Assets collectstatic copies the static assets to STATIC_ROOT (which is set to '/static'), instead of the static directory under pharos_dashboard. Updating the static volume, which is served from NGINX to include these files should fix the missing assets. Change-Id: I19288e9825c1513684e4ee5f8a9542b1a0ceeeb1 Signed-off-by: Trevor Bramwell --- diff --git a/dashboard/docker-compose.yml b/dashboard/docker-compose.yml index 2f96343..eddc54c 100644 --- a/dashboard/docker-compose.yml +++ b/dashboard/docker-compose.yml @@ -33,8 +33,8 @@ services: - postgres env_file: config.env volumes: - - pharos-static:/pharos_dashboard/static/ - - pharos-media:/pharos_dashboard/media/ + - pharos-static:/static + - pharos-media:/media expose: - "8000"