Browse Source

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).
pull/4/head
Aaron Brady 5 years ago
committed by Eugen Rochko
parent
commit
8c279b1648
1 changed files with 0 additions and 3 deletions
  1. +0
    -3
      docker-compose.yml

+ 0
- 3
docker-compose.yml View 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

Loading…
Cancel
Save