baseline: OpenMU upstream b5a0961 (fresh source)
This commit is contained in:
11
deploy/distributed/dapr-components/config.yaml
Normal file
11
deploy/distributed/dapr-components/config.yaml
Normal file
@@ -0,0 +1,11 @@
|
||||
apiVersion: dapr.io/v1alpha1
|
||||
kind: Configuration
|
||||
metadata:
|
||||
name: daprConfig
|
||||
namespace: default
|
||||
spec:
|
||||
tracing:
|
||||
enabled: true
|
||||
samplingRate: "1"
|
||||
zipkin:
|
||||
endpointAddress: "http://zipkin:9411/api/v2/spans"
|
||||
13
deploy/distributed/dapr-components/localSecretStore.yaml
Normal file
13
deploy/distributed/dapr-components/localSecretStore.yaml
Normal file
@@ -0,0 +1,13 @@
|
||||
apiVersion: dapr.io/v1alpha1
|
||||
kind: Component
|
||||
metadata:
|
||||
name: secrets
|
||||
namespace: default
|
||||
spec:
|
||||
type: secretstores.local.file
|
||||
version: v1
|
||||
metadata:
|
||||
- name: secretsFile
|
||||
value: components/secrets.json
|
||||
- name: nestedSeparator
|
||||
value: ":"
|
||||
13
deploy/distributed/dapr-components/login-state.yaml
Normal file
13
deploy/distributed/dapr-components/login-state.yaml
Normal file
@@ -0,0 +1,13 @@
|
||||
apiVersion: dapr.io/v1alpha1
|
||||
kind: Component
|
||||
metadata:
|
||||
name: login-state
|
||||
spec:
|
||||
spec:
|
||||
type: state.redis
|
||||
version: v1
|
||||
metadata:
|
||||
- name: redisHost
|
||||
value: redis-state:6379
|
||||
#- name: ttlInSeconds
|
||||
# value: <int> # Optional
|
||||
20
deploy/distributed/dapr-components/pubsub.yaml
Normal file
20
deploy/distributed/dapr-components/pubsub.yaml
Normal file
@@ -0,0 +1,20 @@
|
||||
apiVersion: dapr.io/v1alpha1
|
||||
kind: Component
|
||||
metadata:
|
||||
name: pubsub
|
||||
spec:
|
||||
type: pubsub.rabbitmq
|
||||
version: v1
|
||||
metadata:
|
||||
- name: host
|
||||
value: "amqp://rabbit:5672"
|
||||
- name: durable
|
||||
value: "true"
|
||||
- name: deletedWhenUnused
|
||||
value: "false"
|
||||
- name: autoAck
|
||||
value: "false"
|
||||
- name: reconnectWait
|
||||
value: "0"
|
||||
- name: concurrency
|
||||
value: parallel
|
||||
11
deploy/distributed/dapr-components/secrets.json
Normal file
11
deploy/distributed/dapr-components/secrets.json
Normal file
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"connectionStrings": {
|
||||
"MUnique.OpenMU.Persistence.EntityFramework.EntityDataContext": "Server=database;Port=5432;User Id=postgres;Password=admin;Database=openmu;Command Timeout=120;",
|
||||
"MUnique.OpenMU.Persistence.EntityFramework.TypedContext": "Server=database;Port=5432;User Id=postgres;Password=admin;Database=openmu;Command Timeout=120;",
|
||||
"MUnique.OpenMU.Persistence.EntityFramework.ConfigurationContext": "Server=database;Port=5432;User Id=config;Password=config;Database=openmu;Command Timeout=120;",
|
||||
"MUnique.OpenMU.Persistence.EntityFramework.AccountContext": "Server=database;Port=5432;User Id=account;Password=account;Database=openmu;Command Timeout=120;",
|
||||
"MUnique.OpenMU.Persistence.EntityFramework.TradeContext": "Server=database;Port=5432;User Id=account;Password=account;Database=openmu;Command Timeout=120;",
|
||||
"MUnique.OpenMU.Persistence.EntityFramework.FriendContext": "Server=database;Port=5432;User Id=friend;Password=friend;Database=openmu;Command Timeout=120;",
|
||||
"MUnique.OpenMU.Persistence.EntityFramework.GuildContext": "Server=database;Port=5432;User Id=guild;Password=guild;Database=openmu;Command Timeout=120;"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user