Skip to content
This repository has been archived by the owner on Aug 28, 2023. It is now read-only.

compose file with MySQL image #25

Open
cku-github opened this issue Jul 13, 2020 · 0 comments
Open

compose file with MySQL image #25

cku-github opened this issue Jul 13, 2020 · 0 comments

Comments

@cku-github
Copy link

cku-github commented Jul 13, 2020

Thanks a lot for the image. This makes testing so much easier.

To help even more, may I suggest adding a compose file option. For example:

docker-compose.yml (with the following contents):
version: '3'
services:
mysql:
image: mysql:5
container_name: sw-mysql
networks:
- mysql_solarwind
environment:
- MYSQL_ROOT_PASSWORD=some1234Password!
- MYSQL_RANDOM_ROOT_PASSWORD=yes
- MYSQL_DATABASE=solarwinddb
- MYSQL_USER=solarwind
- MYSQL_PASSWORD=SolarwindDPA-pw1.
expose:
- "3306"
- "33060"
dpa:
image: solarwinds/dpa:latest
container_name: dpainstance
networks:
- mysql_solarwind
ports:
- "8123:8123"
- "8124:8124"
networks:
mysql_solarwind:
driver: bridge

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

1 participant