425 / 5000
Resultados de traducción
Hello, I am installing Nextcloud as a stack in openmediavault all this on my Raspeberry Pi4 and it throws me the following error when configuring the database: Error while trying to create admin user: Failed to connect to the database: An exception occurred in the driver: SQLSTATE [HY000] [2002] php_network_getaddresses: getaddrinfo failed: Temporary failure in name resolution. I’ve been looking for the solution for six days.
version: ‘2’
volumes:
nextcloud:
db:
services:
db:
image: yobasystems/alpine-mariadb:latest
command: --transaction-isolation=READ-COMMITTED --binlog-format=ROW
restart: always
volumes:
- db:/var/lib/mysql
environment:
- MYSQL_ROOT_PASSWORD=password #Cambiar esto
- MYSQL_PASSWORD=password #Cambiar esto
- MYSQL_DATABASE=nextcloud
- MYSQL_USER=nextcloud
app:
image: nextcloud
ports:
- 8080:80
links:
- db
volumes:
- /srv/dev-disk-by-uuid-2f0529fc-0063-4ebb-9089-7d5015952c43/Nextcloud:/var/www/html #Cambie ‘nextcloud’ a su volumen de unidad externa si está disponible
restart: always