dashboard-compose.yaml 771 B

1234567891011121314151617181920212223242526272829303132333435
  1. version: "3"
  2. services:
  3. dashboard:
  4. image: "apache/apisix-dashboard:${APISIX_DASHBOARD_TAG}"
  5. restart: always
  6. volumes:
  7. - ../example/dashboard_conf/conf.yaml:/usr/local/apisix-dashboard/conf/conf.yaml:ro
  8. depends_on:
  9. - etcd
  10. ports:
  11. - "9000:9000/tcp"
  12. networks:
  13. - apisix
  14. etcd:
  15. image: bitnami/etcd:3.4.9
  16. user: root
  17. restart: always
  18. volumes:
  19. - ../example/etcd_data:/etcd_data
  20. environment:
  21. ETCD_DATA_DIR: /etcd_data
  22. ETCD_ENABLE_V2: "true"
  23. ALLOW_NONE_AUTHENTICATION: "yes"
  24. ETCD_ADVERTISE_CLIENT_URLS: "http://0.0.0.0:2379"
  25. ETCD_LISTEN_CLIENT_URLS: "http://0.0.0.0:2379"
  26. ports:
  27. - "2379:2379/tcp"
  28. networks:
  29. - apisix
  30. networks:
  31. apisix:
  32. driver: bridge