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:3306DB_NAME: defaultwordpressDB_USER: defaultrootDB_PASSWORD: not setDB_PREFIX: defaultwp_WP_HOME: defaulthttp://localhostWP_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>"