standalone-derby.yaml 712 B

1234567891011121314151617181920212223242526272829
  1. version: "2"
  2. services:
  3. nacos:
  4. image: nacos/nacos-server:latest
  5. container_name: nacos-standalone
  6. environment:
  7. - PREFER_HOST_MODE=hostname
  8. - MODE=standalone
  9. volumes:
  10. - ./standalone-logs/:/home/nacos/logs
  11. - ./init.d/custom.properties:/home/nacos/init.d/custom.properties
  12. ports:
  13. - "8848:8848"
  14. prometheus:
  15. container_name: prometheus
  16. image: prom/prometheus:latest
  17. volumes:
  18. - ./prometheus/prometheus-standalone.yaml:/etc/prometheus/prometheus.yml
  19. ports:
  20. - "9090:9090"
  21. depends_on:
  22. - nacos
  23. restart: on-failure
  24. grafana:
  25. container_name: grafana
  26. image: grafana/grafana:latest
  27. ports:
  28. - 3000:3000
  29. restart: on-failure