Skip to content

Latest commit

 

History

History
34 lines (23 loc) · 771 Bytes

Docker.md

File metadata and controls

34 lines (23 loc) · 771 Bytes

Docker development environment cheat sheet

To start the containers

make -f Makefile.docker up

To stop the containers

make -f Makefile.docker down

To tail tomcat logs

docker-compose logs --follow core-services

To bash to the core-services container

docker-compose exec core-services bash

To force clean/build on container start, modify hoot.env e.g.

HOOT_CLEAN=0
HOOT_BUILD_CORE=1
HOOT_BUILD_HOOT_SERVICES=1
HOOT_BUILD_JS_SCHEMA=0
HOOT_BUILD_TRANSLATION_SERVER=0
HOOT_BUILD_NODE_EXPORT_SERVER=0
HOOT_SERVICES_HOST=core-services
HOOT_SERVICES_PORT=8080
HOOT_NPM_INSTALL=0

to set any properties from 0 to 1 and then stop/start the containers.

Once the images are built and the containers are up and running, open the UI at https://localhost:8080