Skip to content

Commit

Permalink
Changed pwd.yml (#1519)
Browse files Browse the repository at this point in the history
* Update pwd.yml

changed some parameters, since syntax has changed:
- bench parameter for mariadb password is different
- mariadb parameter for password has changed

* fix: create site command in pwd.yml

* fix: create site command in pwd.yml

remove deprecated option and use new

---------

Co-authored-by: Revant Nandgaonkar <revant.one@gmail.com>
  • Loading branch information
vogt31337 and revant authored Nov 26, 2024
1 parent 657dfbb commit 99a3600
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pwd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ services:
fi
done;
echo "sites/common_site_config.json found";
bench new-site --no-mariadb-socket --admin-password=admin --db-root-password=admin --install-app erpnext --set-default frontend;
bench new-site --mariadb-user-host-login-scope='%' --admin-password=admin --db-root-username=root --db-root-password=admin --install-app erpnext --set-default frontend;
db:
image: mariadb:10.6
Expand All @@ -85,6 +85,7 @@ services:
- --skip-innodb-read-only-compressed # Temporary fix for MariaDB 10.6
environment:
MYSQL_ROOT_PASSWORD: admin
MARIADB_ROOT_PASSWORD: admin
volumes:
- db-data:/var/lib/mysql

Expand Down

0 comments on commit 99a3600

Please sign in to comment.