Dockware and other images
Can I use dockware in combination with other images?
Dockware is a Docker image like every other image. You can combine it with 3rd party services such as Redis, Elasticsearch, a separate MySQL, Percona or anything else.
Make sure they are on the same Docker network and use the key names of the containers as host addresses.
Here's an example:
docker-compose.yml
To access the standalone MySQL instance you need to set the correct host.
The host is the name of your container (here -> "db")
Different systems have different options to configure a database connection string. In Shopware 6, it would be inside the .env file as DATABASE_URL. In Shopware 5, it is in the config.php file.
SHOPWARE 6 (.env file inside docker)
Last updated