services:
frontend:
image: awesome/webapp
ports:
- "8000:5000"
monitoring:
extends:
service: frontend
backend:
- "8000:5001"