grimsi / accservermanager

A Docker, Spring Boot 2 and Angular 7 based AC Competizione Server Manager
Other
26 stars 8 forks source link

Backend deploy #35

Open itsmylife44 opened 2 years ago

itsmylife44 commented 2 years ago

Hi , I’m trying to update your project , but a question , as I’m not really familiar with spring boot .

Is there any way to test the backend without pulling the docker container ? Or do I need to push a container on the docker hub on every change ?

Thanks in advanced !

grimsi commented 2 years ago

It has been a long time since I worked with this application, but for development you don't have to build a new image to start the app. You need to have the Docker service running, but you can just start the application as you do a normal Java application. If you're using IntelliJ IDEA as IDE it should be detected automatically

itsmylife44 commented 2 years ago

Thanks for you reply .

Problem is , if I start the application , the app is pulling the docker image from the docker hub , and I’ve never the new backend build running .

grimsi commented 2 years ago

It's pulling the image for the servers (they also run in Docker containers, that's why you need Docker running). I will take a look later today if I can get it working

itsmylife44 commented 2 years ago

Ah ok , now I understood .

I was thinking that he pulled the whole app from the docker container , not the server container .

Thanks for the info :)