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