Skip to content

Instantly share code, notes, and snippets.

@voxpelli
Last active October 4, 2015 14:35
Show Gist options
  • Save voxpelli/4d57a848fc793f495252 to your computer and use it in GitHub Desktop.
Save voxpelli/4d57a848fc793f495252 to your computer and use it in GitHub Desktop.
Bedrock + Docker-Compose
DB_NAME=wordpress
DB_USER=root
DB_PASSWORD=""
DB_HOST=mysql:3306
WP_ENV=development
# And in /etc/hosts added wordpress.dev to point to 192.168.99.100
WP_HOME=http://wordpress.dev:8000
WP_SITEURL=http://wordpress.dev:8000/wp
web:
build: .
command: php -S 0.0.0.0:8000 -t /code/web
ports:
- "8000:8000"
links:
- mysql
volumes:
- .:/code
mysql:
image: orchardup/mysql
environment:
MYSQL_DATABASE: wordpress
FROM orchardup/php5
ADD . /code
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment