Hi,
I am following a webinar for docker /webinars/deploying-applications-paas-docker and I ran into an issue.
When I am building the image with
docker build -t sample-sales-master .
everything passes good.
But after when I am trying to compose with the yml file:
version: ‘2’
services:
postgres:
image: postgres:9.6.7
environment:
- POSTGRES_PASSWORD=LetsWork
- POSTGRES_USER=postgres
- POSTGRES_DB=sales
ports:
- “5433:5432”
networks:
- sales-network
web:
image: sample-sales-master
ports:
- “8080:8080”
networks:
- sales-networknetworks:
sales-network:
and I run the command
docker-compose up
I get this error:
Anyone has an idea how could I fix this?