-
-
Save voxpelli/4d57a848fc793f495252 to your computer and use it in GitHub Desktop.
Bedrock + Docker-Compose
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM orchardup/php5 | |
ADD . /code |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment