Skip to content

3 dockers applications with separate containers for services easy way for microservices

License

Notifications You must be signed in to change notification settings

zin-lin/WorldApp

Repository files navigation

APP

  • The Application is developed by Author: Zin Lin Htun

    • preview
    • preview mobile

ToolChain

Java 17 Java

React React

Redux Redux

TypeScript TypeScript

Dockers Docker

Spring.io Spring

Configure

  • Currently, app is configured to run on localhost:8080 since db is exposed on localhost 3001 and proxy for fe is set to be 8080.
  • Config proxy for fe to just app, when using with dockers
    • For running all dockers run docker-compose.yml
    • the whole of application after successful compose will be exposed at server's port 5000.

Download And Test

  • Docker Way
    • Clone repository GitHub

    • docker-compose up

    • change proxy in frontend's world-napier to be app instead of http://localhost:8080

    • access app via server's port 5000

  • Development Way
    • run DockerCompose docker-compose.yml for just db
    • run DemodocApplication.java
         >cd src/main/frontend/world-napier
         >npm start

About

3 dockers applications with separate containers for services easy way for microservices

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published