As far as I can tell, the contents are the same between your repo and each source
dir:
- sites
- site1
- site2
- site3
- …
- site8
- trellis
Or do the contents differ between repo and source
? If contents differ,
- what is in your repo and
- what is extra in the
source
dirs?
If source
seems bigger than your repo, I suggest you try digging into the source
dir to find what the extra and big files are.
If it turns out your repo and the source
dirs are the same content, I don’t see a bug nor a misconfiguration. Trellis is set up to give each /srv/www/site
source
dir with the repo contents.
If it turns out you will indeed want to use Trellis with a repo that has 8+ sites and the repo is 1+ GB in size, some adjustments will be required for the large repo/project size. Either Trellis will need to adjust its handling of the source
dir, or you’ll need to split your sites into separate repos, or just bump up the storage specs of your server.