Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Separate Apache and MySQL into two containers using docker-compose. #6

Closed
wants to merge 1 commit into from

Conversation

cmattoon
Copy link

@cmattoon cmattoon commented Jan 4, 2018

  • Remove MySQL server and main.sh from Dockerfile
  • Add docker-compose.yml (Version 3)
  • update DVWA config to use MySQL container hostname instead of 127.0.0.1
  • add apache config, and move php.ini to conf/ directory
  • move images to img/ directory while I'm at it

Tested on OS X and Docker 17.09 CE

Fixes #5

- Remove MySQL server and main.sh from Dockerfile
- Add docker-compose.yml (Version 3)
- update DVWA config to use MySQL container hostname instead of `127.0.0.1`
- add apache config, and move php.ini to `conf/` directory
- move images to `img/` directory while I'm at it

Tested on OS X and Docker 17.09 CE
@mike-bailey
Copy link

Love this

@opsxcq
Copy link
Owner

opsxcq commented Oct 12, 2018

While this image is intended to be easy to use and, let users be able to setup everything with just one command and have no need to have docker-compose installed. I agree that splitting the services is a better practice, it can be done but it won't replace the official image.

I'm created the issue #13 to keep track of the progress

@opsxcq opsxcq closed this Oct 12, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants