version: '2'

services:

    api:
        image: dkfbasel/hot-reload-go:1.2.0
        ports:
            - "3001:80"
        volumes:
            - ..:/app
        environment:
            # project is required to make sure that the import paths to
            # optional other packages in the same directory will work as expected
            - PROJECT=github.com/dkfbasel/hot-reload/sample
            # directory is required to set the current directory that should be
            # used for building
            - DIRECTORY=src/server
            # ignore will indicate which directories to ignore from watching
            - IGNORE=/src/web,/src/server/ignored
            # arguments can be used to specify arguments to pass to the executable
            # on running
            - ARGUMENTS=-test=someString

    frontend:
        image: dkfbasel/hot-reload-webpack:2.0.0
        # note that the host port and the port on webpack should
        # match to avoid cross origin request issues
        ports:
            - "3000:3000"
        volumes:
            - ..:/app
        environment:
            # directory will be used to define the folder where webpack should
            # be started from and where the local node_modules are to be found
            - DIRECTORY=src/web
            # command defines the command to run after symlinking the global
            # node modules into the local directoy
            - COMMAND=npm run dev

version: '2'

services:

    api:
        image: dkfbasel/hot-reload-go:1.2.0
        ports:
            - "3001:80"
        volumes:
            - ..:/app
        environment:
            # project is required to make sure that the import paths to
            # optional other packages in the same directory will work as expected
            - PROJECT=github.com/dkfbasel/hot-reload/sample
            # directory is required to set the current directory that should be
            # used for building
            - DIRECTORY=src/server
            # ignore will indicate which directories to ignore from watching
            - IGNORE=/src/web,/src/server/ignored
            # arguments can be used to specify arguments to pass to the executable
            # on running
            - ARGUMENTS=-test=someString

    frontend:
        image: dkfbasel/hot-reload-webpack:2.1.0
        # note that the host port and the port on webpack should
        # match to avoid cross origin request issues
        ports:
            - "3000:3000"
        volumes:
            - ..:/app
        environment:
            # directory will be used to define the folder where webpack should
            # be started from and where the local node_modules are to be found
            - DIRECTORY=src/web
            # command defines the command to run after symlinking the global
            # node modules into the local directoy
            - COMMAND=npm run dev

Update webpack hot reload container to version 2.1.0
Update webpack hot reload container to version 2.1.0