arm64安装kong
时间: 2023-10-04 13:12:52 浏览: 269
centos的kong安装文件
要在arm64架构上安装Kong,你需要自己编译Kong软件,因为yum安装的Kong只适用于基本的x86_64架构。首先,你可以使用以下命令克隆Konga的GitHub仓库:
```
git clone https://github.com/pantsel/konga.git
```
然后,你可以使用以下Docker命令在arm64上运行Konga:
```
docker run -d -p 1338:1337 --network=kong-net --name konga -e "DB_ADAPTER=postgres" -e "DB_HOST=172.18.0.2" -e "DB_USER=kong" -e "DB_PASSWORD=kong" -e "DB_DATABASE=konga" -e "NODE_ENV=production" albertwzp/konga-arm64:next
```
这将在arm64架构上启动Konga,并将其连接到名为"kong-net"的网络。你还需要提供与PostgreSQL数据库的连接信息,以便Konga可以与数据库进行交互。确保替换上述命令中的数据库相关环境变量参数为你自己的配置。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* [mac系统/aarch架构源码编译安装kong文档](https://blog.csdn.net/fnozoszzt/article/details/104498845)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
- *2* *3* [Konga arm64 安装](https://blog.csdn.net/trustnature/article/details/116690915)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文