A collection of Nacos plug-ins that provide pluggable plug-in capabilities for Nacos and support user customization and high scalability
该仓库从nacos-plugin fork,主要为了处理数据源的适配。
已构建好的docker镜像:nacos-server-multiple-datasource
自dockerfile中进行构建:
mvn clean install -DskipTests
export DATASOURCE_TYPE=postgresql
export TAG=test:0.0.1
docker buildx build --platform linux/amd64,linux/arm64 --build-arg DATASOURCE_PLUGIN=nacos-${DATASOURCE_TYPE}-datasource-plugin-ext -t ${TAG} -f build/datasource/datasource-plugin-ext.Dockerfile . --push