Hi,
I will check it
Could you try to run it in an emulator? As you know, I can't operate your physical device in the meeting, it's hard to find the problem
Hi,
I'd like to check it remotely, can we have a meeting? shiwei.liang@volosoft.com
Hi,
Could you share the full error log? thanks.
Hi,
Ok, so you need to configure it in the test project. for example: https://github.com/abpframework/abp/blob/dev/framework/test/Volo.Abp.BlobStoring.Azure.Tests/Volo/Abp/BlobStoring/Azure/AbpBlobStoringAzureTestModule.cs#L42
It is configured in the WebModule. It appears that it needs this configuration somewhere in tests in order to work. Where should that go?
Hi,
DbMigrator and Web are two applications, you should to configuration it in the DbMigrator project too.
Hi,
It is only used for the local development environment: https://docs.abp.io/en/abp/latest/Virtual-File-System#dealing-with-embedded-files-during-development
You can try to start the container with another environment(Production etc.).
Or you can add an option to appsettings
{
"IsOnDocker": "false",
}
if (hostingEnvironment.IsDevelopment() && !Convert.ToBoolean(configuration["IsOnDocker"]))
{
Configure<AbpVirtualFileSystemOptions>(options =>
{
......
});
}
services:
dnf.httpapi.host:
image: ${DOCKER_REGISTRY-}dnfhttpapihost
container_name: dnf.httpapi.host
ports:
- "44326:44326"
- "4200:4200"
- "30080:80"
- "30443:443"
build:
context: .
dockerfile: src/DNF.HttpApi.Host/Dockerfile
depends_on:
- dnf.db
restart: on-failure
environment:
IsOnDocker: "true"