cscart / development-docker Goto Github PK
View Code? Open in Web Editor NEWCS-Cart development environment based on Docker containers
Home Page: https://www.cs-cart.com/marketplace-builder
License: MIT License
CS-Cart development environment based on Docker containers
Home Page: https://www.cs-cart.com/marketplace-builder
License: MIT License
Не удается установить cs-cart multivendor на dev окружение, ничего не помогает, изучил документацию и cs-cart (как его поднять) и доки данного окружения.
Во время установки, прогрессбар с сообщением "Обработка" и таком состоянии застывает, минут 20 точно ждал.
OS: Windows 10 x64 with WSL2
version: "3.1"
services:
mysql5.7:
image: mysql:5.7
container_name: mysql5.7
environment:
MYSQL_ROOT_PASSWORD: root
volumes:
- ./app/db:/var/lib/mysql
ports:
- "3306:3306"
nginx:
image: nginx:alpine
container_name: nginx
working_dir: /etc/nginx
volumes:
- ./app:/app
- ./config/nginx:/etc/nginx/conf.d
ports:
- "80:80"
- "443:443"
depends_on:
# - php5.6
# - php7.3
- php7.4
# - php8.0
# php5.6:
# build:
# context: ./config/php5.6
# dockerfile: Dockerfile
# container_name: php5.6
# working_dir: /app
# volumes:
# - ./app:/app
# - ./config/php5.6/php-ini-overrides.ini:/usr/local/etc/php/conf.d/00-php.ini
# - ./bin/sendmail:/usr/local/bin/sendmail
#
# php7.3:
# build:
# context: ./config/php7.3
# dockerfile: Dockerfile
# container_name: php7.3
# working_dir: /app
# volumes:
# - ./app:/app
# - ./config/php7.3/php-ini-overrides.ini:/usr/local/etc/php/conf.d/00-php.ini
# - ./bin/sendmail:/usr/local/bin/sendmail
# environment:
# PHP_IDE_CONFIG: serverName=localhost
php7.4:
build:
context: ./config/php7.4
dockerfile: Dockerfile
container_name: php7.4
working_dir: /app
volumes:
- ./app:/app
- ./config/php7.4/php-ini-overrides.ini:/usr/local/etc/php/conf.d/00-php.ini
- ./bin/sendmail:/usr/local/bin/sendmail
environment:
PHP_IDE_CONFIG: serverName=localhost
# php8.0:
# build:
# context: ./config/php8.0
# dockerfile: Dockerfile
# container_name: php8.0
# working_dir: /app
# volumes:
# - ./app:/app
# - ./config/php8.0/php-ini-overrides.ini:/usr/local/etc/php/conf.d/00-php.ini
# - ./bin/sendmail:/usr/local/bin/sendmail
# environment:
# PHP_IDE_CONFIG: serverName=localhost
Ради эксперимента, попробовал поднять обычный cs-cart (без мултьтивендора), он ставится без проблем. Получается проблема конкретно в multi-vendor версии. Пока не понимаю из за чего это может быть.
Вопрос с тормозами решил. Докер на винде, используется wsl2, я попробовал обратно на hyper-v перейти, всё чотко работает. Гораздо быстрее. Вопрос закрыт.
We request the integration of phpMyAdmin into Docker container environment. This addition will simplify database management tasks for developers and administrators by providing a user-friendly interface for MySQL database. Thank you for considering our request.
PR
(#23)
trying to run application container (with php7.4 and also occour with php8)
and i get an error:
ERROR [2/5] RUN set -xe; mkdir -p /tmp/oniguruma; curl -Ls https://github.com/kkos/oniguruma/releases 0.5s
[2/5] RUN set -xe; mkdir -p /tmp/oniguruma; curl -Ls https://github.com/kkos/oniguruma/releases/download/v6.9.3/onig-6.9.3.tar.gz | tar xzC /tmp/oniguruma --strip-components=1; cd /tmp/oniguruma/; ./configure; make -j $(nproc); make install:
#4 0.320 + mkdir -p /tmp/oniguruma
#4 0.321 + curl -Ls https://github.com/kkos/oniguruma/releases/download/v6.9.3/onig-6.9.3.tar.gz
#4 0.321 + tar xzC /tmp/oniguruma --strip-components=1
#4 0.438
#4 0.438 gzip: stdin: unexpected end of file
#4 0.438 tar: Child returned status 1
#4 0.438 tar: Error is not recoverable: exiting now
executor failed running [/bin/sh -c set -xe; mkdir -p ${ONIG_BUILD_DIR}; curl -Ls https://github.com/kkos/oniguruma/releases/download/v${VERSION_ONIG}/onig-${VERSION_ONIG}.tar.gz | tar xzC ${ONIG_BUILD_DIR} --strip-components=1; cd ${ONIG_BUILD_DIR}/; ./configure; make -j $(nproc); make install]: exit code: 2
ERROR: Service 'php8.0' failed to build : Build failed
(By the way, run $ make -f Makefile run
command is not possible in Windows OS,
so to run it I took command docker-compose up -d --build nginx mysql5.7 php8.0
from within Makefile file and I ran the command in Windows PowerShell).
I would be happy for help and guidance
Thanks
Stuck at Processing when installing cscart
Log do not show anything wrong.
ProcessingCreating addon_descriptions table
Creating addons table
Creating bm_block_statuses table
Creating bm_blocks table
Creating bm_blocks_content table
Creating bm_blocks_descriptions table
Creating bm_containers table
Creating bm_grids table
Creating bm_layouts table
Creating bm_locations table
Creating bm_locations_descriptions table
Creating bm_snapping table
Creating cache_handlers table
Creating categories table
Creating category_descriptions table
Creating category_vendor_product_count table
Creating common_descriptions table
Creating companies table
Creating company_descriptions table
Creating countries table
Creating country_descriptions table
Creating currencies table
Creating currency_descriptions table
Creating destination_descriptions table
Creating destination_elements table
Creating destinations table
Creating ekeys table
Creating exim_layouts table
Creating images table
Creating images_links table
Creating installed_upgrades table
Creating language_values table
Creating languages table
Creating localization_descriptions table
Creating localization_elements table
Creating localizations table
Creating lock_keys table
Creating logos table
Creating logs table
Creating menus table
Creating menus_descriptions table
Creating notification_settings table
Creating notifications table
Creating order_data table
Creating order_details table
Creating order_docs table
Creating order_transactions table
Creating orders table
Creating original_values table
Creating page_descriptions table
Creating pages table
Creating payment_descriptions table
Creating payment_processors table
Creating payments table
Creating privileges table
Creating product_descriptions table
Creating product_feature_variant_descriptions table
Creating product_feature_variants table
Creating product_features table
Creating product_features_descriptions table
Creating product_features_values table
Creating product_file_descriptions table
Creating product_file_ekeys table
Creating product_file_folder_descriptions table
Creating product_file_folders table
Creating product_files table
Creating product_filter_descriptions table
Creating product_filters table
Creating product_global_option_links table
Creating product_option_variants table
Creating product_option_variants_descriptions table
Creating product_options table
Creating product_options_descriptions table
Creating product_options_exceptions table
Creating product_options_inventory table
Creating product_popularity table
Creating product_prices table
Creating product_subscriptions table
Creating product_tabs table
Creating product_tabs_descriptions table
Creating products table
Creating products_categories table
Creating profile_field_descriptions table
Creating profile_field_sections table
Creating profile_field_values table
Creating profile_fields table
Creating profile_fields_data table
Creating promotion_descriptions table
Creating promotions table
Creating quick_menu table
Creating robots_data table
Creating sales_reports table
Creating sales_reports_descriptions table
Creating sales_reports_elements table
Creating sales_reports_intervals table
Creating sales_reports_table_conditions table
Creating sales_reports_table_descriptions table
Creating sales_reports_table_element_conditions table
Creating sales_reports_table_elements table
Creating sales_reports_tables table
Creating sessions table
Creating settings_descriptions table
Creating settings_objects table
Creating settings_sections table
Creating settings_variants table
Creating settings_vendor_values table
Creating shipment_items table
Creating shipments table
Creating shipping_descriptions table
Creating shipping_rates table
Creating shipping_service_descriptions table
Creating shipping_services table
Creating shipping_time_descriptions table
Creating shippings table
Creating sitemap_links table
Creating sitemap_sections table
Creating state_descriptions table
Creating states table
Creating static_data table
Creating static_data_descriptions table
Creating status_data table
Creating status_descriptions table
Creating statuses table
Creating storage_data table
Creating stored_sessions table
Creating storefronts table
Creating storefronts_companies table
Creating storefronts_countries table
Creating storefronts_currencies table
Creating storefronts_languages table
Creating storefronts_payments table
Creating storefronts_promotions table
Creating storefronts_shippings table
Creating sync_data_settings table
Creating tax_descriptions table
Creating tax_rates table
Creating taxes table
Creating template_documents table
Creating template_emails table
Creating template_internal_notifications table
Creating template_snippet_descriptions table
Creating template_snippets table
Creating template_table_column_descriptions table
Creating template_table_columns table
Creating user_data table
Creating user_profiles table
Creating user_session_products table
Creating usergroup_descriptions table
Creating usergroup_links table
Creating usergroup_privileges table
Creating usergroups table
Creating users table
Creating vendor_invitations table
Creating vendor_payouts table
Creating vendor_styles table
Creating views table
Description:
Need to use MySQL database within the external services(for example, Sequel Pro).
Resolution:
Add the ports configuration for the "mysql5.7" service in the docker-compose.yml file.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.