diff --git a/docker-woocommerce-php7.4-wp6.0.0-wc2.6.0-woo6.0.0/README.md b/docker-woocommerce-php7.4-wp6.0.0-wc2.6.0-woo6.0.0/README.md deleted file mode 100644 index f389bea8..00000000 --- a/docker-woocommerce-php7.4-wp6.0.0-wc2.6.0-woo6.0.0/README.md +++ /dev/null @@ -1,45 +0,0 @@ -![Woocommerce](https://woocommerce.com/wp-content/themes/woo/images/logo-woocommerce@2x.png) - -# Woocommerce Docker para desarrollo - -### PHP 7.4 + Wordpress 6.0.0 + Wordpress Cli 2.6.0 + Mysql 5.7 + Woocommerce 6.0.0 - -### Requerimientos - -**MacOS:** - -Instalar [Docker](https://docs.docker.com/docker-for-mac/install/), [Docker-compose](https://docs.docker.com/compose/install/#install-compose) y [Docker-sync](https://github.com/EugenMayer/docker-sync/wiki/docker-sync-on-OSX). - -**Windows:** - -Instalar [Docker](https://docs.docker.com/docker-for-windows/install/), [Docker-compose](https://docs.docker.com/compose/install/#install-compose) y [Docker-sync](https://github.com/EugenMayer/docker-sync/wiki/docker-sync-on-Windows). - -**Linux:** - -Instalar [Docker](https://docs.docker.com/engine/installation/linux/docker-ce/ubuntu/) y [Docker-compose](https://docs.docker.com/compose/install/#install-compose). - -### Como usar - -De forma automática se creará una imagen Wordpress y Wordpress Cli, se instalará WooCommerce con el tema Storefront y se creará un producto de ejemplo. - -Para instalar Woocommerce, hacer lo siguiente y esperar 5 minutos: - -``` -docker compose up -``` - -Para Eliminar ejecutar y borrar las carpetas 'db_data' y 'wp_data': - -``` -docker compose down -``` - -### Paneles - -**Web server:** http://localhost:8000 - -**Admin:** http://localhost:8000/wp-admin - - user: admin - password: admin - diff --git a/docker-woocommerce-php7.4-wp6.0.0-wc2.6.0-woo6.0.0/docker-compose.yml b/docker-woocommerce-php7.4-wp6.0.0-wc2.6.0-woo6.0.0/docker-compose.yml deleted file mode 100644 index ff546a15..00000000 --- a/docker-woocommerce-php7.4-wp6.0.0-wc2.6.0-woo6.0.0/docker-compose.yml +++ /dev/null @@ -1,80 +0,0 @@ -version: '3.4' - -x-common-variables: &common-variables - WORDPRESS_DB_HOST: db:3306 - WORDPRESS_DB_USER: wordpress - WORDPRESS_DB_PASSWORD: wordpress - WORDPRESS_DB_NAME: wordpress - WORDPRESS_TABLE_PREFIX: "wp_" - WORDPRESS_DEBUG: 1 - -services: - db: - image: mysql:5.7 - container_name: php7.4-wp6.0.0-wc2.6.0-woo6.0.0_mysql - ports: - - "33060:3306" - volumes: - - ./db_data:/var/lib/mysql - restart: always - environment: - MYSQL_ROOT_PASSWORD: wordpress - MYSQL_DATABASE: wordpress - MYSQL_USER: wordpress - MYSQL_PASSWORD: wordpress - wordpress: - depends_on: - - db - image: wordpress:6.0.0-php7.4-apache - container_name: php7.4-wp6.0.0-wc2.6.0-woo6.0.0_wordpress - ports: - - "8000:80" - restart: always - environment: - <<: *common-variables - volumes: - - ./wp_data:/var/www/html - wordpress-cli: - depends_on: - - db - - wordpress - image: wordpress:cli-2.6.0-php7.4 - container_name: php7.4-wp6.0.0-wc2.6.0-woo6.0.0_wordpress_cli - # vstm: This is required to run wordpress-cli with the same - # user-id as wordpress. This way there are no permission problems - # when running the cli - user: "33:33" - environment: - <<: *common-variables - # vstm: The sleep 40 is required so that the command is run after - # mysql is initialized. Depending on your machine this might take - # longer or it can go faster. - command: > - /bin/sh -c ' - sleep 40; - sed -i "s|# END WordPress|php_value upload_max_filesize 5000M \\n php_value post_max_size 5000M \\n php_value memory_limit 256M \\n php_value max_execution_time 300 \\n php_value max_input_time 300 \\n |g" /var/www/html/.htaccess; - wp core install --path="/var/www/html" --url="http://localhost:8000" --title="Transbank Store" --admin_user=admin --admin_password=admin --admin_email=transbankdevelopers@continuum.cl; - wp --allow-root plugin install woocommerce --version=6.0.0 --activate; - wp --allow-root theme install storefront --activate; - wp --allow-root wc tool run install_pages --user=admin; - wp --allow-root wc product create --name="Zapatos deportivos" --sku=1 --regular_price=1000 --status=publish --user=admin; - wp --allow-root db query "UPDATE wp_options SET option_value=\"CLP\" WHERE option_name=\"woocommerce_currency\";"; - wp --allow-root db query "UPDATE wp_options SET option_value=\"General Bustamante 24\" WHERE option_name=\"woocommerce_store_address\";"; - wp --allow-root db query "UPDATE wp_options SET option_value=\"Of M, Piso 7\" WHERE option_name=\"woocommerce_store_address_2\";"; - wp --allow-root db query "UPDATE wp_options SET option_value=\"Providencia\" WHERE option_name=\"woocommerce_store_city\";"; - wp --allow-root db query "UPDATE wp_options SET option_value=\"CL\" WHERE option_name=\"woocommerce_default_country\";"; - wp --allow-root db query "UPDATE wp_options SET option_value=\"7500000\" WHERE option_name=\"woocommerce_store_postcode\";"; - wp --allow-root db query "UPDATE wp_options SET option_value=0 WHERE option_name=\"woocommerce_price_num_decimals\";"; - wp --allow-root db query "UPDATE wp_options SET option_value=\".\" WHERE option_name=\"woocommerce_price_thousand_sep\";"; - wp --allow-root db query "UPDATE wp_options SET option_value=\",\" WHERE option_name=\"woocommerce_price_decimal_sep\";"; - wp --allow-root config set WP_DEBUG true; - wp --allow-root config set --add --type=constant WP_DEBUG_LOG true; - wp --allow-root config set --add --type=constant WP_DEBUG_DISPLAY false; - wp --allow-root config set --add --type=constant WPS_DEBUG true; - wp --allow-root config set --add --type=constant WPS_DEBUG_SCRIPTS true; - wp --allow-root config set --add --type=constant WPS_DEBUG_STYLES true; - ' - volumes_from: - - wordpress - links: - - db diff --git a/docker-woocommerce-php7.4-wp6.0.0-wc2.6.0-woo6.5.0/README.md b/docker-woocommerce-php7.4-wp6.0.0-wc2.6.0-woo6.5.0/README.md deleted file mode 100644 index 015479ee..00000000 --- a/docker-woocommerce-php7.4-wp6.0.0-wc2.6.0-woo6.5.0/README.md +++ /dev/null @@ -1,44 +0,0 @@ -![Woocommerce](https://woocommerce.com/wp-content/themes/woo/images/logo-woocommerce@2x.png) - -# Woocommerce Docker para desarrollo - -### PHP 7.4 + Wordpress 6.0.0 + Wordpress Cli 2.6.0 + Mysql 5.7 + Woocommerce 6.5.0 - -### Requerimientos - -**MacOS:** - -Instalar [Docker](https://docs.docker.com/docker-for-mac/install/), [Docker-compose](https://docs.docker.com/compose/install/#install-compose) y [Docker-sync](https://github.com/EugenMayer/docker-sync/wiki/docker-sync-on-OSX). - -**Windows:** - -Instalar [Docker](https://docs.docker.com/docker-for-windows/install/), [Docker-compose](https://docs.docker.com/compose/install/#install-compose) y [Docker-sync](https://github.com/EugenMayer/docker-sync/wiki/docker-sync-on-Windows). - -**Linux:** - -Instalar [Docker](https://docs.docker.com/engine/installation/linux/docker-ce/ubuntu/) y [Docker-compose](https://docs.docker.com/compose/install/#install-compose). - -### Como usar - -De forma automática se creará una imagen Wordpress y Wordpress Cli, se instalará WooCommerce con el tema Storefront y se creará un producto de ejemplo. - -Para instalar Woocommerce, hacer lo siguiente y esperar 5 minutos: - -``` -docker compose up -``` - -Para Eliminar ejecutar y borrar las carpetas 'db_data' y 'wp_data': - -``` -docker compose down -``` - -### Paneles - -**Web server:** http://localhost:8000 - -**Admin:** http://localhost:8000/wp-admin - - user: admin - password: admin diff --git a/docker-woocommerce-php7.4-wp6.0.0-wc2.6.0-woo6.5.0/docker-compose.yml b/docker-woocommerce-php7.4-wp6.0.0-wc2.6.0-woo6.5.0/docker-compose.yml deleted file mode 100644 index 80da6d47..00000000 --- a/docker-woocommerce-php7.4-wp6.0.0-wc2.6.0-woo6.5.0/docker-compose.yml +++ /dev/null @@ -1,80 +0,0 @@ -version: '3.4' - -x-common-variables: &common-variables - WORDPRESS_DB_HOST: db:3306 - WORDPRESS_DB_USER: wordpress - WORDPRESS_DB_PASSWORD: wordpress - WORDPRESS_DB_NAME: wordpress - WORDPRESS_TABLE_PREFIX: "wp_" - WORDPRESS_DEBUG: 1 - -services: - db: - image: mysql:5.7 - container_name: php7.4-wp6.0.0-wc2.6.0-woo6.5.0_mysql - ports: - - "33060:3306" - volumes: - - ./db_data:/var/lib/mysql - restart: always - environment: - MYSQL_ROOT_PASSWORD: wordpress - MYSQL_DATABASE: wordpress - MYSQL_USER: wordpress - MYSQL_PASSWORD: wordpress - wordpress: - depends_on: - - db - image: wordpress:6.0.0-php7.4-apache - container_name: php7.4-wp6.0.0-wc2.6.0-woo6.5.0_wordpress - ports: - - "8000:80" - restart: always - environment: - <<: *common-variables - volumes: - - ./wp_data:/var/www/html - wordpress-cli: - depends_on: - - db - - wordpress - image: wordpress:cli-2.6.0-php7.4 - container_name: php7.4-wp6.0.0-wc2.6.0-woo6.5.0_wordpress_cli - # vstm: This is required to run wordpress-cli with the same - # user-id as wordpress. This way there are no permission problems - # when running the cli - user: "33:33" - environment: - <<: *common-variables - # vstm: The sleep 40 is required so that the command is run after - # mysql is initialized. Depending on your machine this might take - # longer or it can go faster. - command: > - /bin/sh -c ' - sleep 40; - sed -i "s|# END WordPress|php_value upload_max_filesize 5000M \\n php_value post_max_size 5000M \\n php_value memory_limit 256M \\n php_value max_execution_time 300 \\n php_value max_input_time 300 \\n |g" /var/www/html/.htaccess; - wp core install --path="/var/www/html" --url="http://localhost:8000" --title="Transbank Store" --admin_user=admin --admin_password=admin --admin_email=transbankdevelopers@continuum.cl; - wp --allow-root plugin install woocommerce --version=6.5.0 --activate; - wp --allow-root theme install storefront --activate; - wp --allow-root wc tool run install_pages --user=admin; - wp --allow-root wc product create --name="Zapatos deportivos" --sku=1 --regular_price=1000 --status=publish --user=admin; - wp --allow-root db query "UPDATE wp_options SET option_value=\"CLP\" WHERE option_name=\"woocommerce_currency\";"; - wp --allow-root db query "UPDATE wp_options SET option_value=\"General Bustamante 24\" WHERE option_name=\"woocommerce_store_address\";"; - wp --allow-root db query "UPDATE wp_options SET option_value=\"Of M, Piso 7\" WHERE option_name=\"woocommerce_store_address_2\";"; - wp --allow-root db query "UPDATE wp_options SET option_value=\"Providencia\" WHERE option_name=\"woocommerce_store_city\";"; - wp --allow-root db query "UPDATE wp_options SET option_value=\"CL\" WHERE option_name=\"woocommerce_default_country\";"; - wp --allow-root db query "UPDATE wp_options SET option_value=\"7500000\" WHERE option_name=\"woocommerce_store_postcode\";"; - wp --allow-root db query "UPDATE wp_options SET option_value=0 WHERE option_name=\"woocommerce_price_num_decimals\";"; - wp --allow-root db query "UPDATE wp_options SET option_value=\".\" WHERE option_name=\"woocommerce_price_thousand_sep\";"; - wp --allow-root db query "UPDATE wp_options SET option_value=\",\" WHERE option_name=\"woocommerce_price_decimal_sep\";"; - wp --allow-root config set WP_DEBUG true; - wp --allow-root config set --add --type=constant WP_DEBUG_LOG true; - wp --allow-root config set --add --type=constant WP_DEBUG_DISPLAY false; - wp --allow-root config set --add --type=constant WPS_DEBUG true; - wp --allow-root config set --add --type=constant WPS_DEBUG_SCRIPTS true; - wp --allow-root config set --add --type=constant WPS_DEBUG_STYLES true; - ' - volumes_from: - - wordpress - links: - - db diff --git a/docker-woocommerce-php8.2-wp6.4.1-wc2.9.0-woo8.1.0/README.md b/docker-woocommerce-php8.2-wp6.4.1-wc2.9.0-woo8.1.0/README.md deleted file mode 100644 index 94f0176b..00000000 --- a/docker-woocommerce-php8.2-wp6.4.1-wc2.9.0-woo8.1.0/README.md +++ /dev/null @@ -1,44 +0,0 @@ -![Woocommerce](https://woocommerce.com/wp-content/themes/woo/images/logo-woocommerce@2x.png) - -# Woocommerce Docker para desarrollo - -### PHP 8.2 + Wordpress 6.4.1 + Wordpress Cli 2.9.0 + Mysql 5.7 + Woocommerce 8.1.0 - -### Requerimientos - -**MacOS:** - -Instalar [Docker](https://docs.docker.com/docker-for-mac/install/), [Docker-compose](https://docs.docker.com/compose/install/#install-compose) y [Docker-sync](https://github.com/EugenMayer/docker-sync/wiki/docker-sync-on-OSX). - -**Windows:** - -Instalar [Docker](https://docs.docker.com/docker-for-windows/install/), [Docker-compose](https://docs.docker.com/compose/install/#install-compose) y [Docker-sync](https://github.com/EugenMayer/docker-sync/wiki/docker-sync-on-Windows). - -**Linux:** - -Instalar [Docker](https://docs.docker.com/engine/installation/linux/docker-ce/ubuntu/) y [Docker-compose](https://docs.docker.com/compose/install/#install-compose). - -### Como usar - -De forma automática se creará una imagen Wordpress y Wordpress Cli, se instalará WooCommerce con el tema Storefront y se creará un producto de ejemplo. - -Para instalar Woocommerce, hacer lo siguiente y esperar 5 minutos: - -``` -docker compose up -``` - -Para Eliminar ejecutar y borrar las carpetas 'db_data' y 'wp_data': - -``` -docker compose down -``` - -### Paneles - -**Web server:** http://localhost:8000 - -**Admin:** http://localhost:8000/wp-admin - - user: admin - password: admin diff --git a/docker-woocommerce-php8.2-wp6.4.1-wc2.9.0-woo8.2.0/README.md b/docker-woocommerce-php8.2-wp6.4.1-wc2.9.0-woo8.2.0/README.md deleted file mode 100644 index 4ee7b3f8..00000000 --- a/docker-woocommerce-php8.2-wp6.4.1-wc2.9.0-woo8.2.0/README.md +++ /dev/null @@ -1,44 +0,0 @@ -![Woocommerce](https://woocommerce.com/wp-content/themes/woo/images/logo-woocommerce@2x.png) - -# Woocommerce Docker para desarrollo - -### PHP 8.2 + Wordpress 6.4.1 + Wordpress Cli 2.9.0 + Mysql 5.7 + Woocommerce 8.2.0 - -### Requerimientos - -**MacOS:** - -Instalar [Docker](https://docs.docker.com/docker-for-mac/install/), [Docker-compose](https://docs.docker.com/compose/install/#install-compose) y [Docker-sync](https://github.com/EugenMayer/docker-sync/wiki/docker-sync-on-OSX). - -**Windows:** - -Instalar [Docker](https://docs.docker.com/docker-for-windows/install/), [Docker-compose](https://docs.docker.com/compose/install/#install-compose) y [Docker-sync](https://github.com/EugenMayer/docker-sync/wiki/docker-sync-on-Windows). - -**Linux:** - -Instalar [Docker](https://docs.docker.com/engine/installation/linux/docker-ce/ubuntu/) y [Docker-compose](https://docs.docker.com/compose/install/#install-compose). - -### Como usar - -De forma automática se creará una imagen Wordpress y Wordpress Cli, se instalará WooCommerce con el tema Storefront y se creará un producto de ejemplo. - -Para instalar Woocommerce, hacer lo siguiente y esperar 5 minutos: - -``` -docker compose up -``` - -Para Eliminar ejecutar y borrar las carpetas 'db_data' y 'wp_data': - -``` -docker compose down -``` - -### Paneles - -**Web server:** http://localhost:8000 - -**Admin:** http://localhost:8000/wp-admin - - user: admin - password: admin diff --git a/docker-woocommerce-php8.2-wp6.4.1-wc2.9.0-woo8.2.0/docker-compose.yml b/docker-woocommerce-php8.2-wp6.4.1-wc2.9.0-woo8.2.0/docker-compose.yml deleted file mode 100644 index 4ef7e941..00000000 --- a/docker-woocommerce-php8.2-wp6.4.1-wc2.9.0-woo8.2.0/docker-compose.yml +++ /dev/null @@ -1,80 +0,0 @@ -version: '3.4' - -x-common-variables: &common-variables - WORDPRESS_DB_HOST: db:3306 - WORDPRESS_DB_USER: wordpress - WORDPRESS_DB_PASSWORD: wordpress - WORDPRESS_DB_NAME: wordpress - WORDPRESS_TABLE_PREFIX: "wp_" - WORDPRESS_DEBUG: 1 - -services: - db: - image: mysql:5.7 - container_name: php8.2-wp6.4.1-wc2.9.0-woo8.2.0_mysql - ports: - - "33060:3306" - volumes: - - ./db_data:/var/lib/mysql - restart: always - environment: - MYSQL_ROOT_PASSWORD: wordpress - MYSQL_DATABASE: wordpress - MYSQL_USER: wordpress - MYSQL_PASSWORD: wordpress - wordpress: - depends_on: - - db - image: wordpress:6.4.1-php8.2-apache - container_name: php8.2-wp6.4.1-wc2.9.0-woo8.2.0_wordpress - ports: - - "8000:80" - restart: always - environment: - <<: *common-variables - volumes: - - ./wp_data:/var/www/html - wordpress-cli: - depends_on: - - db - - wordpress - image: wordpress:cli-2.9.0-php8.2 - container_name: php8.2-wp6.4.1-wc2.9.0-woo8.2.0_wordpress_cli - # vstm: This is required to run wordpress-cli with the same - # user-id as wordpress. This way there are no permission problems - # when running the cli - user: "33:33" - environment: - <<: *common-variables - # vstm: The sleep 40 is required so that the command is run after - # mysql is initialized. Depending on your machine this might take - # longer or it can go faster. - command: > - /bin/sh -c ' - sleep 40; - sed -i "s|# END WordPress|php_value upload_max_filesize 5000M \\n php_value post_max_size 5000M \\n php_value memory_limit 256M \\n php_value max_execution_time 300 \\n php_value max_input_time 300 \\n |g" /var/www/html/.htaccess; - wp core install --path="/var/www/html" --url="http://localhost:8000" --title="Transbank Store" --admin_user=admin --admin_password=admin --admin_email=transbankdevelopers@continuum.cl; - wp --allow-root plugin install woocommerce --version=8.2.0 --activate; - wp --allow-root theme install storefront --activate; - wp --allow-root wc tool run install_pages --user=admin; - wp --allow-root wc product create --name="Zapatos deportivos" --sku=1 --regular_price=1000 --status=publish --user=admin; - wp --allow-root db query "UPDATE wp_options SET option_value=\"CLP\" WHERE option_name=\"woocommerce_currency\";"; - wp --allow-root db query "UPDATE wp_options SET option_value=\"General Bustamante 24\" WHERE option_name=\"woocommerce_store_address\";"; - wp --allow-root db query "UPDATE wp_options SET option_value=\"Of M, Piso 7\" WHERE option_name=\"woocommerce_store_address_2\";"; - wp --allow-root db query "UPDATE wp_options SET option_value=\"Providencia\" WHERE option_name=\"woocommerce_store_city\";"; - wp --allow-root db query "UPDATE wp_options SET option_value=\"CL\" WHERE option_name=\"woocommerce_default_country\";"; - wp --allow-root db query "UPDATE wp_options SET option_value=\"7500000\" WHERE option_name=\"woocommerce_store_postcode\";"; - wp --allow-root db query "UPDATE wp_options SET option_value=0 WHERE option_name=\"woocommerce_price_num_decimals\";"; - wp --allow-root db query "UPDATE wp_options SET option_value=\".\" WHERE option_name=\"woocommerce_price_thousand_sep\";"; - wp --allow-root db query "UPDATE wp_options SET option_value=\",\" WHERE option_name=\"woocommerce_price_decimal_sep\";"; - wp --allow-root config set WP_DEBUG true; - wp --allow-root config set --add --type=constant WP_DEBUG_LOG true; - wp --allow-root config set --add --type=constant WP_DEBUG_DISPLAY false; - wp --allow-root config set --add --type=constant WPS_DEBUG true; - wp --allow-root config set --add --type=constant WPS_DEBUG_SCRIPTS true; - wp --allow-root config set --add --type=constant WPS_DEBUG_STYLES true; - ' - volumes_from: - - wordpress - links: - - db diff --git a/docker-woocommerce-php8.2-wp6.4.1-wc2.9.0-woo8.3.0/README.md b/docker-woocommerce-php8.2-wp6.4.1-wc2.9.0-woo8.3.0/README.md deleted file mode 100644 index 745488fb..00000000 --- a/docker-woocommerce-php8.2-wp6.4.1-wc2.9.0-woo8.3.0/README.md +++ /dev/null @@ -1,44 +0,0 @@ -![Woocommerce](https://woocommerce.com/wp-content/themes/woo/images/logo-woocommerce@2x.png) - -# Woocommerce Docker para desarrollo - -### PHP 8.2 + Wordpress 6.4.1 + Wordpress Cli 2.9.0 + Mysql 5.7 + Woocommerce 8.3.0 - -### Requerimientos - -**MacOS:** - -Instalar [Docker](https://docs.docker.com/docker-for-mac/install/), [Docker-compose](https://docs.docker.com/compose/install/#install-compose) y [Docker-sync](https://github.com/EugenMayer/docker-sync/wiki/docker-sync-on-OSX). - -**Windows:** - -Instalar [Docker](https://docs.docker.com/docker-for-windows/install/), [Docker-compose](https://docs.docker.com/compose/install/#install-compose) y [Docker-sync](https://github.com/EugenMayer/docker-sync/wiki/docker-sync-on-Windows). - -**Linux:** - -Instalar [Docker](https://docs.docker.com/engine/installation/linux/docker-ce/ubuntu/) y [Docker-compose](https://docs.docker.com/compose/install/#install-compose). - -### Como usar - -De forma automática se creará una imagen Wordpress y Wordpress Cli, se instalará WooCommerce con el tema Storefront y se creará un producto de ejemplo. - -Para instalar Woocommerce, hacer lo siguiente y esperar 5 minutos: - -``` -docker compose up -``` - -Para Eliminar ejecutar y borrar las carpetas 'db_data' y 'wp_data': - -``` -docker compose down -``` - -### Paneles - -**Web server:** http://localhost:8000 - -**Admin:** http://localhost:8000/wp-admin - - user: admin - password: admin diff --git a/docker-woocommerce-php8.2-wp6.4.1-wc2.9.0-woo8.3.0/docker-compose.yml b/docker-woocommerce-php8.2-wp6.4.1-wc2.9.0-woo8.3.0/docker-compose.yml deleted file mode 100644 index b46bfd15..00000000 --- a/docker-woocommerce-php8.2-wp6.4.1-wc2.9.0-woo8.3.0/docker-compose.yml +++ /dev/null @@ -1,80 +0,0 @@ -version: '3.4' - -x-common-variables: &common-variables - WORDPRESS_DB_HOST: db:3306 - WORDPRESS_DB_USER: wordpress - WORDPRESS_DB_PASSWORD: wordpress - WORDPRESS_DB_NAME: wordpress - WORDPRESS_TABLE_PREFIX: "wp_" - WORDPRESS_DEBUG: 1 - -services: - db: - image: mysql:5.7 - container_name: php8.2-wp6.4.1-wc2.9.0-woo8.3.0_mysql - ports: - - "33060:3306" - volumes: - - ./db_data:/var/lib/mysql - restart: always - environment: - MYSQL_ROOT_PASSWORD: wordpress - MYSQL_DATABASE: wordpress - MYSQL_USER: wordpress - MYSQL_PASSWORD: wordpress - wordpress: - depends_on: - - db - image: wordpress:6.4.1-php8.2-apache - container_name: php8.2-wp6.4.1-wc2.9.0-woo8.3.0_wordpress - ports: - - "8000:80" - restart: always - environment: - <<: *common-variables - volumes: - - ./wp_data:/var/www/html - wordpress-cli: - depends_on: - - db - - wordpress - image: wordpress:cli-2.9.0-php8.2 - container_name: php8.2-wp6.4.1-wc2.9.0-woo8.3.0_wordpress_cli - # vstm: This is required to run wordpress-cli with the same - # user-id as wordpress. This way there are no permission problems - # when running the cli - user: "33:33" - environment: - <<: *common-variables - # vstm: The sleep 40 is required so that the command is run after - # mysql is initialized. Depending on your machine this might take - # longer or it can go faster. - command: > - /bin/sh -c ' - sleep 40; - sed -i "s|# END WordPress|php_value upload_max_filesize 5000M \\n php_value post_max_size 5000M \\n php_value memory_limit 256M \\n php_value max_execution_time 300 \\n php_value max_input_time 300 \\n |g" /var/www/html/.htaccess; - wp core install --path="/var/www/html" --url="http://localhost:8000" --title="Transbank Store" --admin_user=admin --admin_password=admin --admin_email=transbankdevelopers@continuum.cl; - wp --allow-root plugin install woocommerce --version=8.3.0 --activate; - wp --allow-root theme install storefront --activate; - wp --allow-root wc tool run install_pages --user=admin; - wp --allow-root wc product create --name="Zapatos deportivos" --sku=1 --regular_price=1000 --status=publish --user=admin; - wp --allow-root db query "UPDATE wp_options SET option_value=\"CLP\" WHERE option_name=\"woocommerce_currency\";"; - wp --allow-root db query "UPDATE wp_options SET option_value=\"General Bustamante 24\" WHERE option_name=\"woocommerce_store_address\";"; - wp --allow-root db query "UPDATE wp_options SET option_value=\"Of M, Piso 7\" WHERE option_name=\"woocommerce_store_address_2\";"; - wp --allow-root db query "UPDATE wp_options SET option_value=\"Providencia\" WHERE option_name=\"woocommerce_store_city\";"; - wp --allow-root db query "UPDATE wp_options SET option_value=\"CL\" WHERE option_name=\"woocommerce_default_country\";"; - wp --allow-root db query "UPDATE wp_options SET option_value=\"7500000\" WHERE option_name=\"woocommerce_store_postcode\";"; - wp --allow-root db query "UPDATE wp_options SET option_value=0 WHERE option_name=\"woocommerce_price_num_decimals\";"; - wp --allow-root db query "UPDATE wp_options SET option_value=\".\" WHERE option_name=\"woocommerce_price_thousand_sep\";"; - wp --allow-root db query "UPDATE wp_options SET option_value=\",\" WHERE option_name=\"woocommerce_price_decimal_sep\";"; - wp --allow-root config set WP_DEBUG true; - wp --allow-root config set --add --type=constant WP_DEBUG_LOG true; - wp --allow-root config set --add --type=constant WP_DEBUG_DISPLAY false; - wp --allow-root config set --add --type=constant WPS_DEBUG true; - wp --allow-root config set --add --type=constant WPS_DEBUG_SCRIPTS true; - wp --allow-root config set --add --type=constant WPS_DEBUG_STYLES true; - ' - volumes_from: - - wordpress - links: - - db diff --git a/docker-woocommerce-php8.2-wp6.4.1-wc2.9.0-woo8.5.0/docker-compose.yml b/docker-woocommerce-php8.2-wp6.4.1-wc2.9.0-woo8.5.0/docker-compose.yml deleted file mode 100644 index f16f61ab..00000000 --- a/docker-woocommerce-php8.2-wp6.4.1-wc2.9.0-woo8.5.0/docker-compose.yml +++ /dev/null @@ -1,80 +0,0 @@ -version: "3.4" - -x-common-variables: &common-variables - WORDPRESS_DB_HOST: db:3306 - WORDPRESS_DB_USER: wordpress - WORDPRESS_DB_PASSWORD: wordpress - WORDPRESS_DB_NAME: wordpress - WORDPRESS_TABLE_PREFIX: "wp_" - WORDPRESS_DEBUG: 1 - -services: - db: - image: mysql:5.7 - container_name: php8.2-wp6.4.1-wc2.9.0-woo8.5.0_mysql - ports: - - "33060:3306" - volumes: - - ./db_data:/var/lib/mysql - restart: always - environment: - MYSQL_ROOT_PASSWORD: wordpress - MYSQL_DATABASE: wordpress - MYSQL_USER: wordpress - MYSQL_PASSWORD: wordpress - wordpress: - depends_on: - - db - image: wordpress:6.4.1-php8.2-apache - container_name: php8.2-wp6.4.1-wc2.9.0-woo8.5.0_wordpress - ports: - - "8000:80" - restart: always - environment: - <<: *common-variables - volumes: - - ./wp_data:/var/www/html - wordpress-cli: - depends_on: - - db - - wordpress - image: wordpress:cli-2.9.0-php8.2 - container_name: php8.2-wp6.4.1-wc2.9.0-woo8.5.0_wordpress_cli - # vstm: This is required to run wordpress-cli with the same - # user-id as wordpress. This way there are no permission problems - # when running the cli - user: "33:33" - environment: - <<: *common-variables - # vstm: The sleep 40 is required so that the command is run after - # mysql is initialized. Depending on your machine this might take - # longer or it can go faster. - command: > - /bin/sh -c ' - sleep 40; - sed -i "s|# END WordPress|php_value upload_max_filesize 5000M \\n php_value post_max_size 5000M \\n php_value memory_limit 256M \\n php_value max_execution_time 300 \\n php_value max_input_time 300 \\n |g" /var/www/html/.htaccess; - wp core install --path="/var/www/html" --url="http://localhost:8000" --title="Transbank Store" --admin_user=admin --admin_password=admin --admin_email=transbankdevelopers@continuum.cl; - wp --allow-root plugin install woocommerce --version=8.5.0 --activate; - wp --allow-root theme install storefront --activate; - wp --allow-root wc tool run install_pages --user=admin; - wp --allow-root wc product create --name="Zapatos deportivos" --sku=1 --regular_price=1000 --status=publish --user=admin; - wp --allow-root db query "UPDATE wp_options SET option_value=\"CLP\" WHERE option_name=\"woocommerce_currency\";"; - wp --allow-root db query "UPDATE wp_options SET option_value=\"General Bustamante 24\" WHERE option_name=\"woocommerce_store_address\";"; - wp --allow-root db query "UPDATE wp_options SET option_value=\"Of M, Piso 7\" WHERE option_name=\"woocommerce_store_address_2\";"; - wp --allow-root db query "UPDATE wp_options SET option_value=\"Providencia\" WHERE option_name=\"woocommerce_store_city\";"; - wp --allow-root db query "UPDATE wp_options SET option_value=\"CL\" WHERE option_name=\"woocommerce_default_country\";"; - wp --allow-root db query "UPDATE wp_options SET option_value=\"7500000\" WHERE option_name=\"woocommerce_store_postcode\";"; - wp --allow-root db query "UPDATE wp_options SET option_value=0 WHERE option_name=\"woocommerce_price_num_decimals\";"; - wp --allow-root db query "UPDATE wp_options SET option_value=\".\" WHERE option_name=\"woocommerce_price_thousand_sep\";"; - wp --allow-root db query "UPDATE wp_options SET option_value=\",\" WHERE option_name=\"woocommerce_price_decimal_sep\";"; - wp --allow-root config set WP_DEBUG true; - wp --allow-root config set --add --type=constant WP_DEBUG_LOG true; - wp --allow-root config set --add --type=constant WP_DEBUG_DISPLAY false; - wp --allow-root config set --add --type=constant WPS_DEBUG true; - wp --allow-root config set --add --type=constant WPS_DEBUG_SCRIPTS true; - wp --allow-root config set --add --type=constant WPS_DEBUG_STYLES true; - ' - volumes_from: - - wordpress - links: - - db diff --git a/docker-woocommerce-php8.2-wp6.4.1-wc2.9.0-woo8.5.0/README.md b/docker-woocommerce-php8.2-wp6.7.1-wc2.11.0-woo9.4.2/README.md similarity index 89% rename from docker-woocommerce-php8.2-wp6.4.1-wc2.9.0-woo8.5.0/README.md rename to docker-woocommerce-php8.2-wp6.7.1-wc2.11.0-woo9.4.2/README.md index 30baffee..9556ca2f 100644 --- a/docker-woocommerce-php8.2-wp6.4.1-wc2.9.0-woo8.5.0/README.md +++ b/docker-woocommerce-php8.2-wp6.7.1-wc2.11.0-woo9.4.2/README.md @@ -2,7 +2,7 @@ # Woocommerce Docker para desarrollo -### PHP 8.2 + Wordpress 6.4.1 + Wordpress Cli 2.9.0 + Mysql 5.7 + Woocommerce 8.5.0 +### PHP 8.2 + WordPress 6.7.1 + WordPress Cli 2.11.0 + Mysql 5.7 + Woocommerce 9.4.2 ### Requerimientos @@ -20,7 +20,7 @@ Instalar [Docker](https://docs.docker.com/engine/installation/linux/docker-ce/ub ### Como usar -De forma automática se creará una imagen Wordpress y Wordpress Cli, se instalará WooCommerce con el tema Storefront y se creará un producto de ejemplo. +De forma automática se creará una imagen WordPress y WordPress Cli, se instalará WooCommerce con el tema Storefront y se creará un producto de ejemplo. Para instalar Woocommerce, hacer lo siguiente y esperar 5 minutos: diff --git a/docker-woocommerce-php8.2-wp6.4.1-wc2.9.0-woo8.1.0/docker-compose.yml b/docker-woocommerce-php8.2-wp6.7.1-wc2.11.0-woo9.4.2/docker-compose.yml similarity index 90% rename from docker-woocommerce-php8.2-wp6.4.1-wc2.9.0-woo8.1.0/docker-compose.yml rename to docker-woocommerce-php8.2-wp6.7.1-wc2.11.0-woo9.4.2/docker-compose.yml index 54eb9d24..589d3a8e 100644 --- a/docker-woocommerce-php8.2-wp6.4.1-wc2.9.0-woo8.1.0/docker-compose.yml +++ b/docker-woocommerce-php8.2-wp6.7.1-wc2.11.0-woo9.4.2/docker-compose.yml @@ -1,5 +1,3 @@ -version: '3.4' - x-common-variables: &common-variables WORDPRESS_DB_HOST: db:3306 WORDPRESS_DB_USER: wordpress @@ -10,8 +8,9 @@ x-common-variables: &common-variables services: db: + platform: linux/x86_64 image: mysql:5.7 - container_name: php8.2-wp6.4.1-wc2.9.0-woo8.1.0_mysql + container_name: php8.2-wp6.7.1-wc2.11.0-woo9.4.2_mysql ports: - "33060:3306" volumes: @@ -25,8 +24,8 @@ services: wordpress: depends_on: - db - image: wordpress:6.4.1-php8.2-apache - container_name: php8.2-wp6.4.1-wc2.9.0-woo8.1.0_wordpress + image: wordpress:6.7.1-php8.2-apache + container_name: php8.2-wp6.7.1-wc2.11.0-woo9.4.2_wordpress ports: - "8000:80" restart: always @@ -38,8 +37,8 @@ services: depends_on: - db - wordpress - image: wordpress:cli-2.9.0-php8.2 - container_name: php8.2-wp6.4.1-wc2.9.0-woo8.1.0_wordpress_cli + image: wordpress:cli-2.11.0-php8.2 + container_name: php8.2-wp6.7.1-wc2.11.0-woo9.4.2_wordpress_cli # vstm: This is required to run wordpress-cli with the same # user-id as wordpress. This way there are no permission problems # when running the cli @@ -54,7 +53,7 @@ services: sleep 40; sed -i "s|# END WordPress|php_value upload_max_filesize 5000M \\n php_value post_max_size 5000M \\n php_value memory_limit 256M \\n php_value max_execution_time 300 \\n php_value max_input_time 300 \\n |g" /var/www/html/.htaccess; wp core install --path="/var/www/html" --url="http://localhost:8000" --title="Transbank Store" --admin_user=admin --admin_password=admin --admin_email=transbankdevelopers@continuum.cl; - wp --allow-root plugin install woocommerce --version=8.1.0 --activate; + wp --allow-root plugin install woocommerce --version=9.4.2 --activate; wp --allow-root theme install storefront --activate; wp --allow-root wc tool run install_pages --user=admin; wp --allow-root wc product create --name="Zapatos deportivos" --sku=1 --regular_price=1000 --status=publish --user=admin;