Created
March 3, 2017 18:40
-
-
Save chrisjimallen/b628355c32eb96ad2d8945188cb5799f to your computer and use it in GitHub Desktop.
Browsersync working in docker container.
This file contains 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
version: '2' | |
services: | |
wordpress: | |
image: wordpress | |
expose: | |
- 80 | |
environment: | |
WORDPRESS_DB_PASSWORD: example | |
volumes: | |
- ./theme:/var/www/html/wp-content/themes/theme | |
mysql: | |
image: mariadb | |
environment: | |
MYSQL_ROOT_PASSWORD: example | |
node: | |
restart: 'no' | |
image: node:slim | |
depends_on: | |
- wordpress | |
volumes_from: | |
- wordpress | |
working_dir: /var/www/html/wp-content/themes/theme | |
build: | |
context: . | |
dockerfile: WordpressBuild | |
args: | |
- SITE_VERSION=0.0.1 | |
ports: | |
- 3000:3000 | |
- 3001:3001 |
@flacoman91 did you find any solution?
@flacoman91 did you find any solution?
No, sorry. It's been ages since I've worked with this and wordpress.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi
by any chance can you share the working gulpfile as well?
I am having the issue where i can see the browsersync ui, but the proxy for my site is not working.
thanks