Skip to content

shopwareLabs/testenv-platform

Repository files navigation

Environment for Testing Plugins

This environment is in use internally for testing store plugins.

Each created instance has an own subdomain. The Shopware installation runs in a subfolder /shop/public. The Adminer Plugin and App-System are preinstalled.

This Application has only an API

This Application should run only in internal networks

Just running the Docker Container

docker run --rm -p 80:80 -e VIRTUAL_HOST=localhost ghcr.io/shopwarelabs/testenv:6.4.3

Access shop at http://localhost/shop/public

Admin Credentials

User: demo Password: demodemo

API

GET /environments

Returns all running containers

POST /environments

JSON Request:

{
    "installVersion": "<lowest supported version of plugin>",
    "plugin": "<plugin zip encoded>"
}

Response

{
    "id": "<docker id>",
    "domain": "<running url>",
    "installedVersion": "<installed version>"
}

DELETE /environments?id=dockerId

Response

{
    "success": true
}