docker run --rm -it -v $PWD/migrations:/code/migrations -v $PWD/knexfile.js:/code/knexfile.js node:18-alpine3.16 sh

修改nostream的db配置,使之连接到aws rds, 使用环境变量 NODE_TLS_REJECT_UNAUTHORIZED=0 使之连接成功. 推测rds使用了自签名证书

Reply to this note

Please Login to reply.

Discussion

No replies yet.