Implementation of the Online Auction System Domain Driven Design with Spring MVC.
docker compose up -d --build
docker image build -t auction-system-app .
docker network create db-network
docker run -d --name postgres-db\
--network db-network \
-e POSTGRES_DB=auctionsDb \
-e POSTGRES_USER=puser \
-e POSTGRES_PASSWORD=pass \
-v postgresdata:/var/lib/postgresql/data \
-d -p 5432:5432 postgres:15
docker run -d --name auction-app \
--network db-network \
-e POSTGRES_HOST=postgres-db \
-e POSTGRES_DB=auctionsDb \
-p 8080:8080 auction-system-app
Navigate to: http://localhost:8080/