Hi,
with the new release 25.0.2, the first step creating an Admin account, the initial installation fails with a database error:
PostgreSQL username and/or password not valid You need to enter details of an existing account.
If I use 25.0.1 the installation succeed.
That is the failing configuration:
version: '3.7'
services:
nextcloud:
container_name: nextcloud
hostname: nextcloud
image: nextcloud:25.0.2-fpm-alpine
stdin_open: true
tty: true
restart: unless-stopped
volumes:
- nextcloud:/var/www/html
environment:
- POSTGRES_HOST=nextcloud-db
- POSTGRES_DB=nextcloud
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=${POSTGRES_PASSWORD}
- REDIS_HOST=nextcloud-redis
depends_on:
- nextcloud-db
- nextcloud-redis
networks:
- backend
expose:
- '9000'
nextcloud-redis:
container_name: nextcloud-redis
hostname: nextcloud-redis
image: redis:7-alpine
restart: unless-stopped
volumes:
- nextcloud-redis:/data
networks:
- backend
nextcloud-db:
container_name: nextcloud-db
hostname: nextcloud-db
image: postgres:15-alpine
restart: unless-stopped
environment:
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=${POSTGRES_PASSWORD}
volumes:
- nextcloud-db:/var/lib/postgresql/data
networks:
- backend
nextcloud-web:
container_name: nextcloud-web
hostname: nextcloud-web
image: nginx
stdin_open: true
tty: true
restart: unless-stopped
expose:
- '80'
volumes:
- ./nginx.conf:/etc/nginx/nginx.conf
- nextcloud:/var/www/html:ro
depends_on:
- nextcloud
networks:
- backend
volumes:
nextcloud:
external: true
nextcloud-redis:
external: true
nextcloud-db:
external: true
networks:
backend:
external: true
name: backend