1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
| docker pull lukptr/erpnext7 docker run -d --name erpnext \ -p 80:80 \ -p 3306:3306 \ -p 11000:11000 \ -p 12000:12000 \ -p 13000:13000 \ --restart=always \ lukptr/erpnext7
docker exec -it erpnext bash
mysql -u root -p 12345678 GRANT ALL PRIVILEGES ON *.* to 'root'@'%' IDENTIFIED BY '[email protected]'; FLUSH PRIVILEGES; select user, host, password from mysql.user; show databases;
sed -i '/bind-address/s/127.0.0.1/0.0.0.0/g' /etc/mysql/my.cnf sed -i '/bind/s/127.0.0.1/0.0.0.0/g' /home/frappe/frappe-bench/config/redis_cache.conf sed -i '/bind/s/127.0.0.1/0.0.0.0/g' /home/frappe/frappe-bench/config/redis_queue.conf sed -i '/bind/s/127.0.0.1/0.0.0.0/g' /home/frappe/frappe-bench/config/redis_socketio.conf
docker restart erpnext docker stop erpnext docker rm erpnext
bench update bench migrate bench backup
|