My docker compose is quite simple.
name: nextcloud
services:
app:
image: nextcloud:latest
restart: always
ports:
- 8088:80
volumes:
- ${EXTERNAL_PATH}:/var/www/html/data
env_file:
- .env
environment:
OVERWRITEPROTOCOL: https
OVERWRITECLIURL: ${OVERWRITECLIURLVALUE}
After lots of time and efforts, following are my conclusions.
If your 1st login attempt is subdom.dom.com via browser, then stick with that forever. Dont use ur website url for certain things, then localhost for someother etc
Set background job to Cron only
After that, install CORE
Then nextcloud office
Then select "user built in CORE"
Then allow WOPI list to 0.0.0.0/0
Then restart nextcloud container
Do comment, if this works for you or not.