Hi, I’m setting up nextcloud using the nextcloud:27
image. I don’t want to use the AIO because it makes too many assumptions for my setup.
In the docs, it says that I can configure it to use postgres “out of the box” by setting all the POSTGRES_
env vars. But when I do that, launch the stack (using Swarm), and go to the nextcloud homepage, it warns me I’m using sqlite. If I pick postgres instead, none of the data is pre-populated.
What gives?
...
services:
nextcloud:
image: nextcloud:27
environment:
POSTGRES_HOST: db
POSTGRES_DB: nextcloud
POSTGRES_USER_FILE: "/run/secrets/nextcloud_db_user"
POSTGRES_PASSWORD_FILE: "/run/secrets/nextcloud_db_password"
...
The secrets exist, are present in the container.
Any ideas?