david on Nostr: docker run --rm -it -v $PWD/migrations:/code/migrations -v ...
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使用了自签名证书
Published at
2023-08-16 11:25:49Event JSON
{
"id": "034a3983067d0934653d5346b0b2f16337244868275d66e130ed994403b0c197",
"pubkey": "f0eab82c761167393a15e0a6194b0f1f278b175ed2ac642d7677e9a7b86773e6",
"created_at": 1692185149,
"kind": 1,
"tags": [],
"content": "docker run --rm -it -v $PWD/migrations:/code/migrations -v $PWD/knexfile.js:/code/knexfile.js node:18-alpine3.16 sh\n\n修改nostream的db配置,使之连接到aws rds, 使用环境变量 NODE_TLS_REJECT_UNAUTHORIZED=0 使之连接成功. 推测rds使用了自签名证书",
"sig": "b41932eb06f7b9442362285ef6ddef68dc9a8f92e5a508b75c13f4710abba3ab96029519f544c8a0cdde83af080d0e909eee182b16ce86ccea7ebd3707dc5253"
}