docker-compose up --build
Console
Creating microservices-flask_producer_1 ... done
Creating microservices-flask_costumer_1 ... done
Attaching to microservices-flask_producer_1, microservices-flask_costumer_1
producer_1 | [2020-04-22 04:41:52 +0000] [1] [INFO] Starting gunicorn 20.0.4
producer_1 | [2020-04-22 04:41:52 +0000] [1] [INFO] Listening at: http://0.0.0.0:8081 (1)
producer_1 | [2020-04-22 04:41:52 +0000] [1] [INFO] Using worker: sync
producer_1 | [2020-04-22 04:41:52 +0000] [8] [INFO] Booting worker with pid: 8
costumer_1 | [2020-04-22 04:41:52 +0000] [1] [INFO] Starting gunicorn 20.0.4
costumer_1 | [2020-04-22 04:41:52 +0000] [1] [INFO] Listening at: http://0.0.0.0:8080 (1)
costumer_1 | [2020-04-22 04:41:52 +0000] [1] [INFO] Using worker: sync
costumer_1 | [2020-04-22 04:41:52 +0000] [9] [INFO] Booting worker with pid: 9
#Example microservices: Service Costumer
- http://0.0.0.0:8080/health/status
- http://0.0.0.0:8080/health/ping
- http://0.0.0.0:8080/api/v1/costumers
Service Producer