Skip to content

Add spring boot app to docker compose#73

Open
hieucx47 wants to merge 2 commits into
ali-bouali:mainfrom
hieucx47:add-spring-boot-app-to-docker-compose
Open

Add spring boot app to docker compose#73
hieucx47 wants to merge 2 commits into
ali-bouali:mainfrom
hieucx47:add-spring-boot-app-to-docker-compose

Conversation

@hieucx47

Copy link
Copy Markdown
  • Create Dockerfile for springboot app
  • Add separated profile for docker build(db url connection need to be change, use the container name of postgres instead of localhost)
  • Add java app to docker-compose.yml
  • Add start/stop for shell script/bat script(support unix/windows)

@hieucx47

Copy link
Copy Markdown
Author

stop.sh execution:
image

start.sh execution:
image

connect to database success:
image

query result:
select * from _user;
image
do authenticate:

  • email: admin@mail.com
  • password: password
    image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants