udemy-go-microservices/project/docker-compose.yml

12 lines
243 B
YAML

services:
broker-service:
build:
context: ./../broker-service/
dockerfile: ./../broker-service/broker-service.dockerfile
restart: always
ports:
- "8080:4000"
deploy:
mode: replicated
replicas: 1