start server

without docker

start database:

docker-compose up postgres_base

start java server:

export DB_HOST=0.0.0.0
export DB_PORT=5434
export DB_NAME=user
export DB_USER=usermanagement
export DB_PASSWORD=password10
export EUREKA_SERVER_HOST=localhost
export EUREKA_SERVER_PORT=9000
export PORT=9001
./gradlew bootRun

The server is in localhost:9001

with docker

start server:

docker-compose up dev

The server is in localhost:9001