If for some reason you want to run the bookstack in an iframe, you have to modify the .env file to set the allowed urls.This change is instantly and doesn't require the docker or service to be restarted.
cd /config/www vi .env