Basically in a multisite you have to run bundle exec rake multisite:migrate
prior to precompile
, in this case you clearly did not.
The problem is that we were m missing some hooks here which make this a nightmare to fix cleanly.
I added some per:
https://github.com/discourse/discourse_docker/commit/5716d28f3c6d2a20a9fe2491fce6c131c9951f5c
I you use:
after_db_migrate:
- exec: cd /var/www/discourse && sudo -E -u discourse bundle exec rake multisite:migrate
You should be all good.