The docs-recommended way to apply time zone, volume, or media-upload changes to the compose stack: stop the services, then bring them up again with the new settings. Note the semicolon runs the second command regardless of the first one's result. sudo is only needed when Docker requires root on your host.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.