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.ymlversion: "3"services:shopware:image: dockware/play:latestcontainer_name: shopwareports:- "80:80"networks:- webdb:image: mysql:5.7container_name: mysqlnetworks:- webenvironment:- MYSQL_ROOT_PASSWORD=hidden- MYSQL_USER=shopuser- MYSQL_PASSWORD=secret- MYSQL_DATABASE=shopwarenetworks:web:external: false
To access the standalone MySQL instance, use this connection string:
IN DOCKERmysql://shopuser:[email protected]:3306/shopware