version: '2' services: prometheus: container_name: prometheus image: prom/prometheus restart: always ports: - "9090:9090"