Hello,
I have created a stack (yml) container under docker
Unfortunately I cannot register. I have probably made a beginner’s mistake.
as user I use admin
Error
Error while trying to create admin account: An exception occurred in the driver: SQLSTATE[HY000] [1045] Access denied for user ‘root’@‘172.19.0.3’ (using password: YES)
Create an admin account
But I get an error message when I log in for the first time.
I probably need to update the stack.
However, I need support:
I have replaced my password with xxx
version: '2'
services:
mariadb:
image: mariadb
restart: always
command: --transaction-isolation=READ-COMMITTED --binlog-format=ROW --innodb-file-per-table=1 --skip-innodb-read-only-compressed
ports:
- 9022:3306
volumes:
- /root/nextcloud/mariadb:/var/lib/mysql
environment:
- MYSQL_ROOT_PASSWORD=xxx
- MYSQL_DATABASE=nextcloud
- MYSQL_USER=root
nextcloud:
image: nextcloud
restart: always
ports:
- 8080:80
links:
- mariadb:mysql
volumes:
- /root/nextcloud/nextcloud:/var/www/html
- /root/nextcloud/apps:/var/www/html/custom_apps
- /root/nextcloud/config:/var/www/html/config
- /mnt/ssd/ncdata:/var/www/html/data
environment:
- MYSQL_PASSWORD=xxx
- MYSQL_DATABASE=nextcloud
- MYSQL_USER=root
- MYSQL_HOST=mariadb