diff --git a/.dockerignore b/.dockerignore deleted file mode 100644 index 3729ff0cd1acce411e814ec416b82ac0f239a4e0..0000000000000000000000000000000000000000 --- a/.dockerignore +++ /dev/null @@ -1,25 +0,0 @@ -**/.classpath -**/.dockerignore -**/.env -**/.git -**/.gitignore -**/.project -**/.settings -**/.toolstarget -**/.vs -**/.vscode -**/*.*proj.user -**/*.dbmdl -**/*.jfm -**/azds.yaml -**/bin -**/charts -**/docker-compose* -**/Dockerfile* -**/node_modules -**/npm-debug.log -**/obj -**/secrets.dev.yaml -**/values.dev.yaml -LICENSE -README.md \ No newline at end of file diff --git a/.env b/.env deleted file mode 100644 index f038dc07395dde4911ca30efbec7a78bcb0ca130..0000000000000000000000000000000000000000 --- a/.env +++ /dev/null @@ -1,17 +0,0 @@ -# Compose supports declaring default environment variables in an environment file named .env placed in the folder docker-compose command is executed from (current working directory). -# Compose expects each line in an env file to be in VAR=VAL format. Lines beginning with # (i.e. comments) are ignored, as are blank lines. -# Note: Values present in the environment at runtime will always override those defined inside the .env file. Similarly, values passed via command-line arguments take precedence as well. - -# Compose 支持在名为 .env 的环境文件中声明默认环境变量,该文件放置在执行 docker-compose 命令的文件夹(当前工作目录)中 -# Compose 希望 env 文件中的每一行都是 VAR=VAL 格式。以 # 开头的行(即注释)和空行都将被忽略 -# 注意:运行时环境中的值总是优先于 .env 文件中定义的值。同样,通过命令行参数传递的值也具有优先权。 - - -# The IP below should be swapped to your real IP or DNS name, like 192.168.88.248, etc. if testing from remote browsers or mobile devices -# 如果通过远程浏览器或移动设备进行测试,应将下面的 IP 替换为您的真实 IP 或 DNS 名称,如 192.168.88.248 等 - -GOLD_EXTERNAL_DNS_NAME_OR_IP=localhost - -# If the NAMESPACE env var is set, Dapr does not load any -# component that does not specify the same namespace. -NAMESPACE=gold \ No newline at end of file diff --git a/CONFIGURATION.md b/CONFIGURATION.md index 63004bba2bd27bc8cf3ee03ca71832e59ff26a8d..e5ec66abd53d1eb15c3bd3e2d6dc7020f445a1f7 100644 --- a/CONFIGURATION.md +++ b/CONFIGURATION.md @@ -16,7 +16,13 @@ - 这些组件配置文件会被 Dapr 运行时自动加载,并根据配置初始化相应的组件。 -#### `dapr postgres` 配置 +#### 2.1 State stores + +> 如果需要 使用 `postgres` 作为 `statestore` 请使用以下脚本创建表 + + +> 详情可以参考 [`Dapr 文档`](https://docs.dapr.io/reference/components-reference/supported-state-stores/setup-postgresql-v2/) + ```postgresql -- # diff --git a/Directory.Build.props b/Directory.Build.props index 402a8300c9ee53243a8b5e34f80ac866a11cc2dd..e8fe43047b7d5e22fb34e16b590f22e3e95a4699 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -1,7 +1,6 @@ - none false diff --git a/Directory.Packages.props.bakup b/Directory.Packages.props.bakup deleted file mode 100644 index 2dac5cf4953ad9509980a103fd690d255b997735..0000000000000000000000000000000000000000 --- a/Directory.Packages.props.bakup +++ /dev/null @@ -1,125 +0,0 @@ - - - true - - - 8.0.0 - 8.0.0 - 8.0.4 - 1.13.0 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - all - runtime; build; native; contentfiles; analyzers; buildtransitive - - - - - - - - - \ No newline at end of file diff --git a/dapr.tool.ordering.schema.json b/dapr.tool.ordering.schema.json deleted file mode 100644 index 0e0dcd235c4973becf25f38eb4e5bb26e154c86a..0000000000000000000000000000000000000000 --- a/dapr.tool.ordering.schema.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - -} \ No newline at end of file diff --git a/samples/README.md b/samples/README.md index 1613d8526370f86599c942db6fdb3dbb4c3108d5..f4d8399ab87566bdd962bc38510a7770565dd573 100644 --- a/samples/README.md +++ b/samples/README.md @@ -1,4 +1,4 @@ - +这是 dapr .net sdk 使用的 简单示例 ### Step 1: Run Service