version: '2'
services:
    web:
        # pwd daemon container always needs to be named this way
        container_name: pwd
        # use the latest golang image
        image: golang
        # go to the right place and starts the app
        command: /bin/sh -c 'cd /go/src/github.com/franela/play-with-docker; go run api.go'
        ports:
            # app exposes port 3000
            - "3000:3000"
        volumes:
            # since this app creates networks and launches containers, we need to talk to docker daemon
            - /var/run/docker.sock:/var/run/docker.sock
            # mount the box mounted shared folder to the container
            - $GOPATH/src:/go/src

version: '2'
services:
    web:
        # pwd daemon container always needs to be named this way
        container_name: pwd
        # use the latest golang image
        image: golang
        # go to the right place and starts the app
        command: /bin/sh -c 'cd /go/src/github.com/franela/play-with-docker; go run api.go'
        ports:
            # app exposes port 3000
            - "3000:3000"
        volumes:
            # since this app creates networks and launches containers, we need to talk to docker daemon
            - /var/run/docker.sock:/var/run/docker.sock
            # mount the box mounted shared folder to the container
            - $GOPATH/src:/go/src
        environment:
            GOOGLE_RECAPTCHA_DISABLED: "true"

Disable recaptcha to use PWD locally
Disable recaptcha to use PWD locally
