This project is a PoC intended to play around with Docker, Kubernets and AWS.
- Kotlin
- Spring Boot
- Redis DB
- Travis CI
- NGINX
- Postgres
- React JS
- Docker
- Gradle
Task | Command |
---|---|
Build docker images | ./gradlew build docker |
Show linter errors | ./gradlew lintKotlin |
Fix linter errors | ./gradlew formatKotlin |
The docker-compose has been defined to configure the multi docker images available in this project.
First you have to run ./gradlew build docker
command in order to assembly the components to be picked up correctly by the Dockerfile configuration.
Once the above step is complete, you can issue the command: docker-compose up --build
The Nginx has been configured to forward the requests between backend and frontend. The requests prefixed with /api will be forward to the backend service otherwise the React JS module will handle the requests.