Skip to content
Snippets Groups Projects
Commit dbc0a422 authored by Sastry, Nishanth Prof (Comp Sci & Elec Eng)'s avatar Sastry, Nishanth Prof (Comp Sci & Elec Eng)
Browse files

add a docker compose file

parent a7b22e78
No related branches found
No related tags found
No related merge requests found
services:
movieservice:
image: movieservice-img
build:
context: .
dockerfile: movieservice/Dockerfile
ports:
- "5001:5001"
networks:
- microservices-net #allows communication to all services on this network, ie, to stservice
stservice:
image: stservice-img
build:
context: .
dockerfile: stservice/Dockerfile
ports:
- "5002:5002"
networks:
- microservices-net #allows communication to all services on this network, ie to movieservice
networks:
# The presence of this object is sufficient to define it
microservices-net: {}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment