devopsacademyau / 2020-feb-project1-group2

Creative Commons Attribution Share Alike 4.0 International
0 stars 2 forks source link

Container Docker w/ WordPress #4

Open faria-marcio opened 4 years ago

faria-marcio commented 4 years ago
faria-marcio commented 4 years ago

For this task is required:

Having analysed this requirement and run some tests I believe that the best solution is to use the wordpress:php7.4-apache available at Docker Hub because it contains the necessary stack to run the website required in this project.

faria-marcio commented 4 years ago

I've create a PR for the Dockerfile

I also made the image available on Docker Hub with the following address: fariamarcio/wp-image:project1

faria-marcio commented 4 years ago

To run locally, use these scripts: $ docker run --name mysql-cont -e MYSQL_ROOT_PASSWORD=password -d mysql:5.7 $ docker run --name wp-cont --link mysql-cont:mysql -p 8000:80 -d wp-image

deniseddi commented 4 years ago

Hi Marcio, It worked for me as I was able to run it, too. :) Looking forward for the integration with docker-compose.