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).
lolsob-rspec
Aaron Brady 2018-08-09 16:37:48 -04:00 committed by Eugen Rochko
parent d0b6cbfb92
commit 98577df03a
1 changed files with 0 additions and 3 deletions

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