dashboarding
To start developing on this project simply bring up the Docker setup:
docker-compose up --build
Open your web browser at http://localhost (on a Linux host) or
http://<docker-machine-ip-address> (on OS X and Windows), usually the
IP address of the VirtualBox VM called default
, to see the application
you're developing. Log output will be displayed in the terminal, as usual.
Create/destroy development environment:
docker-compose up -d # create and start; omit -d to see log output
docker-compose down # docker-compose kill && docker-compose rm -af
Start/stop development environment:
docker-compose start # resume after 'stop'
docker-compose stop # stop containers, but keep them intact
Other useful commands:
docker-compose ps # list running containers
docker-compose logs -f # view (and follow) container logs
See the docker-compose CLI reference for other commands.
Development tools supported out-of-the-box: (see docker-compose.override.yml)
None yet. Sorry.
Source .envrc to activate natural aliases for those commands:
. .envrc # or `source .envrc` in bash
Note
Optional but recommended:
Install and configure direnv to make this automatic for all projects you work on. See .envrc for setup instructions.
Alternatively, you can run those commands the classic way, i.e.
docker-compose run <toolname>