services: app: build: context: . dockerfile: Dockerfile image: spring-demo container_name: spring-demo ports: - "8082:8080" restart: always