services:
frontend:
image: awesome/webapp
networks:
- front-tier
- back-tier
monitoring:
- admin
extends:
service: frontend
backend:
back-tier:
aliases:
- database
admin:
- mysql
front-tier: