feature/72-channelselection-and-character-creation #82

Merged
rainote merged 35 commits from feature/72-channelselection-and-character-creation into master 2023-11-14 19:47:01 +00:00
4 changed files with 21 additions and 0 deletions
Showing only changes of commit 497d415fb6 - Show all commits

2
.gitignore vendored
View file

@ -482,3 +482,5 @@ $RECYCLE.BIN/
.vscode
.nuke
wk-data

View file

@ -24,6 +24,7 @@ builder.Services.AddDbContext<WonderkingContext>();
builder.Services.AddSingleton<PacketDistributorService>();
builder.Services.AddHostedService(provider =>
provider.GetService<PacketDistributorService>() ?? throw new InvalidOperationException());
builder.Services.AddSingleton<ItemObjectPoolService>();
builder.Services.AddMassTransit(x =>
{
x.UsingInMemory((context, configurator) => configurator.ConfigureEndpoints(context));

View file

@ -11,10 +11,16 @@
- DB:Port=5432
- DB:Username=continuity
- DB:Password=continuity
- Game:Data:Path=/app/data
networks:
- continuity
ports:
- "10001:10001"
volumes:
- type: bind
source: game-data
target: /app/data
read_only: true
db:
container_name: continuity-db
@ -37,3 +43,10 @@ networks:
continuity:
volumes:
db-data:
game-data:
driver: local
driver_opts:
type: none
device: ../wk-data
o: bind

View file

@ -8,5 +8,10 @@
},
"Testing": {
"CreateAccountOnLogin": true
},
"Game":{
"Data":{
"Path": "../wk-data"
}
}
}