aboutsummaryrefslogtreecommitdiffstats
path: root/docker-compose.yml
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
commit86a9b68ca7a5865398da4d95eda505e89c94ea67 (patch)
tree6f092f1143db9275653177bdd1710caa14a61dff /docker-compose.yml
parent1f3a770d2547848590f39e9d9b9bdffeb94eec14 (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 'docker-compose.yml')
-rw-r--r--docker-compose.yml4
1 files changed, 2 insertions, 2 deletions
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"