java-tutorials/docker/docker-sample-app/docker-compose-with-image.yaml

10 lines
128 B
YAML

version: '2.4'
services:
db:
image: postgres
my_app:
image: "eugen/test-app:latest"
ports:
- "8080:8080"