Update docker-compose.yml with latest changes

This commit is contained in:
pankaj 2024-09-06 20:16:49 +05:30
parent 22cd90d3ea
commit cddffa38cb

View file

@ -3,7 +3,7 @@ version: '3.8'
services: services:
app: app:
image: spring-petclinic:latest image: spring-petclinic:latest
container_name: app container_name: spring-petclinic-app
ports: ports:
- "8080:8080" - "8080:8080"
environment: environment:
@ -18,7 +18,7 @@ services:
db: db:
image: postgres:16.3 image: postgres:16.3
container_name: db container_name: postgres-db
environment: environment:
POSTGRES_USER: petclinic POSTGRES_USER: petclinic
POSTGRES_PASSWORD: petclinic POSTGRES_PASSWORD: petclinic