java-tutorials/docker/docker-sample-app/docker-compose-build-image....

9 lines
105 B
YAML

version: '2.4'
services:
db:
image: postgres
my_app:
build: .
ports:
- "8080:8080"