]> cat aescling's git repositories - mastodon.git/commitdiff
Update docker-compose to cope with build-time assets (#8156)
authorAaron Brady <aaron.brady@shopify.com>
Thu, 9 Aug 2018 20:37:48 +0000 (16:37 -0400)
committerEugen Rochko <eugen@zeonfederated.com>
Thu, 9 Aug 2018 20:37:48 +0000 (22:37 +0200)
#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).

docker-compose.yml

index c54c73e44a064cfddb0ac82b7024ed00a44a75c2..3b50f6d31c5f49816a77bd672f0cf83b5f670f04 100644 (file)
@@ -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