升级 Kong 网关

SHOYUF

从 2.8 版本升级到当前最新的 3.4 版本

kong-migrations-up:
    image: "${KONG_DOCKER_TAG:-kong:latest}"
    command: kong migrations up && kong migrations finish
    profiles: [ "database" ]
    depends_on:
      - kong-database
    environment:
      <<: *kong-env
    networks:
      - kong-net
    restart: on-failure

在 docker compose 配置中添加一份迁移服务,按照 https://docs.konghq.com/gateway/latest/upgrade/ 的指示从 *Upgrade to 3.1.1.3, upgrade to 3.2.x, upgrade to 3.3.x, and then upgrade to 3.4.x. * 升级即可

本站使用署名 4.0 国际 (CC BY 4.0) 创作共享协议,转载请署名,图片请转存。

提醒:本文最后更新于 211 天前,文中所描述的信息可能已发生改变,请谨慎使用。

湘ICP备13009407号