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