summaryrefslogtreecommitdiffstats
path: root/dashboard
diff options
context:
space:
mode:
authorTrevor Bramwell <tbramwell@linuxfoundation.org>2018-10-23 10:52:31 -0700
committerTrevor Bramwell <tbramwell@linuxfoundation.org>2018-10-23 11:03:33 -0700
commit594492e3a759e5e63f9709173595b05034168c53 (patch)
tree98f411939917d2d5617620342824e9649e641117 /dashboard
parent25275685e9a735e51fae8b1a936ba5733f6fb770 (diff)
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 <tbramwell@linuxfoundation.org>
Diffstat (limited to 'dashboard')
-rw-r--r--dashboard/docker-compose.yml4
1 files changed, 2 insertions, 2 deletions
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"