These are the steps to setup the current website in a Docker container:
1
2
3
4
|
wget -O- https://github.com/docker/compose/releases/download/1.2.0/docker-compose-`uname -s`-`uname -m` > /usr/local/bin/docker-compose
mkdir wordpress
cd wordpress
|
1
2
3
4
5
6
7
8
9
10
|
db:
image: mysql:5.5
environment:
MYSQL_ROOT_PASSWORD: "A VERY STRONG PASSWORD"
web:
image: wordpress:latest
ports:
- "80:80"
links:
- db:mysql
|
1
|
/usr/local/bin/docker-compose up
|