# Dockware Setup (Docker)

{% file src="/files/qAYykkd7mi7elZN0VvUO" %}

We recommanded dockware for local docker development. It's absolutly easy to manage projects setups

{% embed url="<https://dockware.io>" %}

### Shopware 6.7 (B2Bsellers v4.x.x) Special Configuration

Shopware 6.7 introduces changes in the build tooling, replacing webpack with Vite. As a result, some new configurations are necessary for plugin development, including the B2Bsellers suite. These configurations are relevant for all plugin developers targeting Shopware 6.7.

#### Docker Compose Configuration

First, examine your `docker-compose.yml` file. Here's an example setup:

```yaml
version: "3"

services:
  shopware:
    image: dockware/dev:6.7.1.2
    container_name: shopware6712
    ports:
      - "80:80"
      - "3306:3306"
      - "22:22"
      - "8888:8888"
      - "9999:9999"
      - "9998:9998"
      - "5333-5356:5333-5356"
    networks:
      - web
    volumes:
      - "shopware6712_shop_volume:/var/www/html"
      - "shopware6712_db_volume:/var/lib/mysql"

networks:
  web:
    external: false

volumes:
  shopware6712_shop_volume:
    driver: local
  shopware6712_db_volume:
    driver: local
```

Ensure ports `5333-5356` are open to facilitate Vite operations.

#### Running the Admin Watcher

Start the watcher for the Admin with the following command:

```bash
export VITE_HOST='0.0.0.0' && export VITE_EXTENSIONS_SERVER_SCHEME='http' && export VITE_EXTENSIONS_SERVER_HOST='localhost' && make watch-admin
```

This will enable the admin-watcher to function correctly, leveraging Vite's capabilities.

{% embed url="<https://youtu.be/gy4m6VtjREI>" %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.b2b-sellers.com/b2b-platform/2/developer-guides/first-steps/dockware-setup-docker.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
