What you will get:
- PHP-FPM on Alpine
- Nginx
- Varnish
- Supervisor
- Bedrock + WP
Simply run: docker run -it --name bedrock-wp -p 80:80 --link db:mysql -d tiptopcoder/wordpress-bedrock
DB_HOST
: defaultdb:3306
DB_NAME
: defaultwordpress
DB_USER
: defaultroot
DB_PASSWORD
: not setDB_PREFIX
: defaultwp_
WP_HOME
: defaulthttp://localhost
WP_ENV
: defaultdevelopment
- If you want to define different expose port rather than
80
, define this:-e WP_HOME="http://localhost:<yourport>"
- If you want to define different database container name or different database host rather than
db
, define this:-e DB_HOST="<db_containername>:<db_port>"
or-e DB_HOST="<db_host>:<db_port>"