Config.php keeps resetting after Docker container restart

Couple things:

  • With the AIO variant of Nextcloud Server, the AIO manager expects to have control over many of the global parameters
  • In most of the Docker install methods (and some of others as well), one cannot look only at the config/config.php. Instead use the occ config:list system command as described in the Admin Manual and the support template. This will will show you the merged config.

For local access with AIO see How can I access locally?