定制 shopware/docker-dev 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

shopware/docker-dev

最新稳定版本:0.1.2

Composer 安装命令:

composer require shopware/docker-dev

包简介

Docker Configuration for Local Development

README 文档

README

Shopware/docker-dev is a meta package and Symfony Flex recipe that simplifies local Docker-based development for Shopware projects. It provides a standardized setup to get your Shopware environment running quickly and consistently using Docker and Docker Compose.

This setup is ideal for plugin, app, or core development and ensures your development stack matches Shopware’s best practices and current requirements.

Features

  • Plug-and-play local Docker development with ready-to-use Dockerfile and Docker Compose setup
  • Reproducible environment: Consistent local setup aligned with Shopware’s recommendations
  • Seamless integration: Adds the Docker configuration to your project via Composer and Symfony Flex
  • Easy updates: Stay up-to-date with Docker setup improvements simply by updating the package

Quick Start

  1. Create a new folder:

    mkdir my-project cd my-project 
  2. Create new Shopware project:

    docker run --rm -it -v $PWD:/var/www/html ghcr.io/shopware/docker-dev:php8.3-node22-caddy new-shopware-setup # or specific version docker run --rm -it -v $PWD:/var/www/html ghcr.io/shopware/docker-dev:php8.3-node22-caddy new-shopware-setup 6.6.10.0 

    This will create a new Shopware project and create configuration files for docker compose.

  3. Start the Docker environment:

    make up 
  4. Access your Shopware instance:

How It Works

  • The recipe will add a pre-configured Dockerfile tailored for Shopware and compatible with modern PHP environments.
  • Typical steps include building your Shopware project with the shopware-cli image and serving it with a lightweight PHP/Caddy/NGINX container.
  • You can adjust environment variables (PHP version, ports, etc.) by editing the generated Dockerfile or Docker Compose overrides as needed.

Keeping Your Docker Setup Up-To-Date

Instead of copying Dockerfiles manually, keep your Docker environment current by managing it as a Symfony Flex recipe via Composer.

Run the following to update as needed:

composer update shopware/docker 

This will automatically pull in the latest Docker configuration updates from Shopware.

Documentation and Help

Contributing

Pull requests, issues, and feedback are welcome! Please see Shopware's contribution guidelines for more information.

统计信息

  • 总下载量: 3.49k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 2
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 2
  • Watchers: 7
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2026-01-04

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固