Non-root Docker image running Alpine Linux, Node.js, and BrowserSync.
DEMYX | BROWSERSYNC |
---|---|
TAGS | latest |
PORT | 3000 |
USER | demyx |
WORKDIR | /demyx |
CONFIG | /etc/demyx |
ENTRYPOINT | ["dumb-init", "demyx"] |
TIMEZONE | America/Los_Angeles |
- The URL will be
http://domain.tld/demyx/bs/
- Set
BROWSERSYNC_PATH=false
andBROWSERSYNC_PREFIX=false
to access BrowserSync without any prefixes - Image is configured for https://demyx.sh
docker run -dt --rm \
--name=browsersync \
--net=demyx \
--volumes-from=wordpress_container \
-e BROWSERSYNC_DOMAIN_MATCH=http://localhost \
-e BROWSERSYNC_DOMAIN_RETURN=http://localhost \
-e BROWSERSYNC_DOMAIN_SOCKET=http://localhost \
-e BROWSERSYNC_PROXY=wordpress_container \
-e BROWSERSYNC_FILES="[\"/var/www/html/wp-content/themes/**/*\", \"/var/www/html/wp-content/plugins/**/*\"]" \
-e BROWSERSYNC_PORT=3000 \
-e BROWSERSYNC_PATH=/demyx \
-e BROWSERSYNC_PREFIX=/bs \
-p 3000:3000 \
demyx/browsersync
- Auto built weekly on Sundays (America/Los_Angeles)
- Rolling release updates
- For support: #demyx