feat: Item Pool service
All checks were successful
Build, Package and Push Images / preprocess (push) Successful in 2s
Build, Package and Push Images / build (push) Successful in 28s
Build, Package and Push Images / sonarqube (push) Has been skipped
Build, Package and Push Images / sbom-scan (push) Successful in 33s
Build, Package and Push Images / container-build (push) Successful in 1m23s
Build, Package and Push Images / container-sbom-scan (push) Successful in 32s
All checks were successful
Build, Package and Push Images / preprocess (push) Successful in 2s
Build, Package and Push Images / build (push) Successful in 28s
Build, Package and Push Images / sonarqube (push) Has been skipped
Build, Package and Push Images / sbom-scan (push) Successful in 33s
Build, Package and Push Images / container-build (push) Successful in 1m23s
Build, Package and Push Images / container-sbom-scan (push) Successful in 32s
This commit is contained in:
parent
e4d6f15345
commit
497d415fb6
4 changed files with 21 additions and 0 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -482,3 +482,5 @@ $RECYCLE.BIN/
|
||||||
.vscode
|
.vscode
|
||||||
|
|
||||||
.nuke
|
.nuke
|
||||||
|
|
||||||
|
wk-data
|
||||||
|
|
|
@ -24,6 +24,7 @@ builder.Services.AddDbContext<WonderkingContext>();
|
||||||
builder.Services.AddSingleton<PacketDistributorService>();
|
builder.Services.AddSingleton<PacketDistributorService>();
|
||||||
builder.Services.AddHostedService(provider =>
|
builder.Services.AddHostedService(provider =>
|
||||||
provider.GetService<PacketDistributorService>() ?? throw new InvalidOperationException());
|
provider.GetService<PacketDistributorService>() ?? throw new InvalidOperationException());
|
||||||
|
builder.Services.AddSingleton<ItemObjectPoolService>();
|
||||||
builder.Services.AddMassTransit(x =>
|
builder.Services.AddMassTransit(x =>
|
||||||
{
|
{
|
||||||
x.UsingInMemory((context, configurator) => configurator.ConfigureEndpoints(context));
|
x.UsingInMemory((context, configurator) => configurator.ConfigureEndpoints(context));
|
||||||
|
|
|
@ -11,10 +11,16 @@
|
||||||
- DB:Port=5432
|
- DB:Port=5432
|
||||||
- DB:Username=continuity
|
- DB:Username=continuity
|
||||||
- DB:Password=continuity
|
- DB:Password=continuity
|
||||||
|
- Game:Data:Path=/app/data
|
||||||
networks:
|
networks:
|
||||||
- continuity
|
- continuity
|
||||||
ports:
|
ports:
|
||||||
- "10001:10001"
|
- "10001:10001"
|
||||||
|
volumes:
|
||||||
|
- type: bind
|
||||||
|
source: game-data
|
||||||
|
target: /app/data
|
||||||
|
read_only: true
|
||||||
|
|
||||||
db:
|
db:
|
||||||
container_name: continuity-db
|
container_name: continuity-db
|
||||||
|
@ -37,3 +43,10 @@ networks:
|
||||||
continuity:
|
continuity:
|
||||||
volumes:
|
volumes:
|
||||||
db-data:
|
db-data:
|
||||||
|
|
||||||
|
game-data:
|
||||||
|
driver: local
|
||||||
|
driver_opts:
|
||||||
|
type: none
|
||||||
|
device: ../wk-data
|
||||||
|
o: bind
|
||||||
|
|
|
@ -8,5 +8,10 @@
|
||||||
},
|
},
|
||||||
"Testing": {
|
"Testing": {
|
||||||
"CreateAccountOnLogin": true
|
"CreateAccountOnLogin": true
|
||||||
|
},
|
||||||
|
"Game":{
|
||||||
|
"Data":{
|
||||||
|
"Path": "../wk-data"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue