about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAaron Brady <aaron.brady@shopify.com>2018-08-09 16:37:48 -0400
committerEugen Rochko <eugen@zeonfederated.com>2018-08-09 22:37:48 +0200
commit8c279b1648fc0a07b5c5d4a0e18526bcb51c7700 (patch)
treef76e386d252dc233f956bd3c9ea2511716666838
parentaff6a15061de203842653d680047322277dc7af6 (diff)
Update docker-compose to cope with build-time assets (#8156)
#7780 means that asset compilation happens as a build step.

Having the assets and packs volumes defined in `docker-compose.yml` breaks this. For people who run under Docker Compose, I believe this will fix their CSS (which even running the asset recompilation separately did not).
-rw-r--r--docker-compose.yml3
1 files changed, 0 insertions, 3 deletions
diff --git a/docker-compose.yml b/docker-compose.yml
index c54c73e44..3b50f6d31 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -46,8 +46,6 @@ services:
       - redis
 #      - es
     volumes:
-      - ./public/assets:/mastodon/public/assets
-      - ./public/packs:/mastodon/public/packs
       - ./public/system:/mastodon/public/system
 
   streaming:
@@ -78,7 +76,6 @@ services:
       - external_network
       - internal_network
     volumes:
-      - ./public/packs:/mastodon/public/packs
       - ./public/system:/mastodon/public/system
 ## Uncomment to enable federation with tor instances along with adding the following ENV variables
 ## http_proxy=http://privoxy:8118