1
0
Fork 0
forked from fedi/mastodon

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).
This commit is contained in:
Aaron Brady 2018-08-09 16:37:48 -04:00 committed by Eugen Rochko
parent aff6a15061
commit 8c279b1648

View file

@ -46,8 +46,6 @@ services:
- redis - redis
# - es # - es
volumes: volumes:
- ./public/assets:/mastodon/public/assets
- ./public/packs:/mastodon/public/packs
- ./public/system:/mastodon/public/system - ./public/system:/mastodon/public/system
streaming: streaming:
@ -78,7 +76,6 @@ services:
- external_network - external_network
- internal_network - internal_network
volumes: volumes:
- ./public/packs:/mastodon/public/packs
- ./public/system:/mastodon/public/system - ./public/system:/mastodon/public/system
## Uncomment to enable federation with tor instances along with adding the following ENV variables ## Uncomment to enable federation with tor instances along with adding the following ENV variables
## http_proxy=http://privoxy:8118 ## http_proxy=http://privoxy:8118