From: Trevor Bramwell Date: Tue, 23 Oct 2018 17:52:31 +0000 (-0700) Subject: Fix Missing Static Assets X-Git-Tag: 2.0.99~198^2 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=86a9b68ca7a5865398da4d95eda505e89c94ea67;p=laas.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/docker-compose.yml b/docker-compose.yml index 2f96343..eddc54c 100644 --- a/docker-compose.yml +++ b/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"