8239c7e399 | ||
---|---|---|
config/checkstyle | ||
gradle/wrapper | ||
src | ||
.gitignore | ||
.gitlab-ci.yml | ||
LICENSE | ||
README.md | ||
build.gradle | ||
gradlew | ||
gradlew.bat | ||
start-db.sh |
README.md
Getting Started
1. Install Docker
There are several ways to install docker depending on your host operating system (OS). Only the Docker Community Edition (Docker CE) from the stable channel is required.
Windows 10 Proffesional or Enterprise Edition
If you have Windows 10 Proffesional or Enterprise then Docker will work "nativley" using the internal Hyper-V virtualization technology. Follow these installation instructions and check if all is working fine according to this little guide.
- Docker tools should be readily available in any shell/terminal
Other Windows Edition
Docker does not run "natively" on other Windows versions and editions. However, Docker provides the Docker Toolbox to install the neccassry tooling and let Docker use the VirtualBox virtualization technology. Follow these installation instructions.
- It will also install a
bash
like Docker Quickstart Terminal - The Toolbox version requires
bash
like terminals, hence one can also use the Git Bash but needs to setup the environment by runningeval $("docker-machine.exe" env)
Mac
Here, the choice between newer more "native" installations or use of Docker Toolbox also depends on the version of Mac (Requires OSX Yosemite 10.10.3 or above). Then it will be depply integrated with the MacOS Hypervisor framework, networking and filesystem.
Otherwise also install Docker Toolbox following these instructions.
Linux/Unix
There should be no issue if the distribution uses a recent kernel.
2. Run Monolith
-
Set up an environment variable
LAB_MONOLITH_DB_IP
and assign the docker host's IP.For docker machine type
docker-machine env
and the value of$DOCKER_HOST
, otherwiselocalhost
is probably correct. -
Set up an environment variable
LAB_MONOLITH_DB_PASSWORD
and assign any password. -
./start-db.sh
Starts a PostgreSQL database using the password from
LAB_MONOLITH_DB_PASSWORD
. -
gradle bootRun
-
Happy exploring and di-secting