services:
frontend:
image: awesome/webapp
monitoring:
image: awesome/monitoring
backend:
extends:
service: frontend
links:
- "db:database"
db:
image: postgres