How to Create a Container for Each Microservice in the Same Folder

Solution
app
+-- service1
| +-- Dockerfile
| +-- uwsgi.ini
| +-- setup.cfg
| \-- app1.py
|
+-- service2
| +-- Dockerfile
| +-- uwsgi.ini
| +-- setup.cfg
| \-- app2.py
|
\-- docker-compose.yml
version: '3.8'
services:
  service1:
    build: ./service1
    ports: ['8001:80']
  service2:
    build: ./service2
    ports: ['8002:80']
    environment:
      - SERVICE_1_URL=http://service1