Skip to content

jdchandler88/containerexperiment

Repository files navigation

containerexperiment

Overview

This is an experiment/overview of a microservice app. It will be managed by Docker-Compose. It will consist of some simple data services implemented in Java as well as some off-the-shelf infrastructure services.

Architecture

Architecture

Repository Structure

  • root: repo root
    • docker-compose.yml: describes entire microservice app
    • services: contains data service source and Dockerfile
      • folder: contains Dockerfile and Gradle War project

Notes

  • Wildfly Docker
  • Active MQ (No longer using. Still might find notes useful for future use)
  • JMS Wildfly
    • No security configured. This is true of both the JMS server and the remoting interface.
  • UI
    • Built using Vue
    • Served using HTTPD Docker image
  • Simple Service: receives messages from front-end to publish manual messages.
  • User Service
  • General Workflow
    • Developing with docker-compose is actually pretty nice. You can re-build and deploy a container/service without taking down the entire application. The way to do so: docker-compose up -d --build {{service_name}}. Note that for these services, when the compilation takes place outside of the container (gradle clean build, npm run build) that must be run before the docker-compose command.
  • Proxy
    • Configuration is not too difficult. Basic reverse-proxy config can be found on NGINX's website.
    • Reverse proxying websockets requires a little more configuration. This resource was helpful: https://www.nginx.com/blog/websocket-nginx/

About

experiment with a containerized microservice app and some off-the-shelf products

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published