with reverse proxy
https://github.com/nextcloud/all-in-one/blob/main/reverse-proxy.md
sudo docker run \ --init \ --sig-proxy=false \ --name nextcloud-aio-mastercontainer \ --restart always \ --publish 8081:8080 \ --env APACHE_PORT=11000 \ --env APACHE_IP_BINDING=0.0.0.0 \ --env APACHE_ADDITIONAL_NETWORK="" \ --env SKIP_DOMAIN_VALIDATION=false \ --env NEXTCLOUD_DATADIR="/home/nextcloud/data" \ --volume nextcloud_aio_mastercontainer:/mnt/docker-aio-config \ --volume /var/run/docker.sock:/var/run/docker.sock:ro \ nextcloud/all-in-one:latest
Set default language bz OCC:
https://docs.nextcloud.com/server/28/admin_manual/configuration_server/occ_command.html
sudo docker exec --user www-data -it nextcloud-aio-nextcloud php occ config:system:set default_language --value="en"