42_Inception/srcs/wordpress/entrypoint.sh

8 lines
327 B
Bash
Raw Normal View History

2023-10-05 12:13:38 -04:00
wp config create --dbname=wordpress --dbuser=$DB_USER --dbpass=$DB_PASS --dbhost=mariadb
wp core install --url=cchauvet.42.fr --title=BOZOLAND --admin_user=$WP_ADMIN_USER --admin_password=$WP_ADMIN_PASS --admin_email=$WP_ADMIN_USER@email.com
wp user create $WP_USER $WP_USER@email.com --user_pass=$WP_PASS
exec php-fpm81 -F