This micro-service will expect to find a PostgreSQL DB at "jdbc:postgres://hoteldb/pdhotel You can start a DB instance using Docker Networking simply by:
docker network create hotelnet
docker run -d --name=hoteldb --net=hotelnet claesjonsson/hoteldb
then start the demo service
docker run -d --name=pdhotels --net=hotelnet -p "8090:8090" -p "8091:8091" claesjonsson/hoteldb
Content type
Image
Digest
sha256:7e0ef26c1…
Size
301.6 MB
Last updated
almost 11 years ago
docker pull claesjonsson/pdhotels