Slow loading of every page with docker-compose

Hi guys!

I installed nextcloud via docker-compose. And the main problem that it works unrealistically slow, every page loads a century.

My docker-compose file based on the file from examples with some changes.
I took the image with nginx-proxy, mariadb, cron, redis and fpm. Should I select another one for more speed?
Finally, I have the following:

version: '3'

services:
  db:
    image: mariadb
    command: --transaction-isolation=READ-COMMITTED --binlog-format=ROW
    restart: always
    volumes:
      - ${VOLUME_PATH}\cloud\db:/var/lib/mysql
    environment:
      - MYSQL_ROOT_PASSWORD=myDBPassword
    env_file:
      - db.env

  redis:
    image: redis:alpine
    restart: always
    volumes:
      - ${VOLUME_PATH}\redis-data:/data

  app:
    image: nextcloud:fpm-alpine
    restart: always
    volumes:
      - ${VOLUME_PATH}\cloud\nextcloud:/var/www/html
    environment:
      - MYSQL_HOST=db
      - REDIS_HOST=redis
    env_file:
      - db.env
    depends_on:
      - db
      - redis

  web:
    build: ./web
    restart: always
    volumes:
      - ${VOLUME_PATH}\cloud\nextcloud:/var/www/html:ro
    environment:
      - VIRTUAL_HOST=cloud.mydomen.example
    depends_on:
      - app
    networks:
      - proxy-tier
      - default

  cron:
    image: nextcloud:fpm-alpine
    restart: always
    volumes:
      - ${VOLUME_PATH}\cloud\nextcloud:/var/www/html
    entrypoint: /cron.sh
    depends_on:
      - db
      - redis

  proxy:
    build: ./proxy
    restart: always
    environment:
      - DHPARAM_GENERATION=false
      - LETSENCRYPT_HOST=cloud.mydomen.example
    ports:
      - 80:80
      - 443:443
    labels:
      - "com.github.jrcs.letsencrypt_nginx_proxy_companion.nginx_proxy=true"
    volumes:
      - ${VOLUME_PATH}\certs:/etc/nginx/certs:ro
      - ${VOLUME_PATH}\vhost.d:/etc/nginx/vhost.d
      - ${VOLUME_PATH}\html:/usr/share/nginx/html
      - ${VOLUME_PATH}\dhparam:/etc/nginx/dhparam
      - ${VOLUME_PATH}\conf.d:/etc/nginx/conf.d
      - /var/run/docker.sock:/tmp/docker.sock:ro
    networks:
      - proxy-tier

  letsencrypt-companion:
    image: jrcs/letsencrypt-nginx-proxy-companion
    restart: always
    environment:
      - LETSENCRYPT_TEST=true
      - DEFAULT_EMAIL=name@mydomen.example
    volumes:
      - ${VOLUME_PATH}\certs:/etc/nginx/certs
      - ${VOLUME_PATH}\vhost.d:/etc/nginx/vhost.d
      - ${VOLUME_PATH}\html:/usr/share/nginx/html
      - ${VOLUME_PATH}\acme:/etc/acme.sh
      - /var/run/docker.sock:/var/run/docker.sock:ro
    networks:
      - proxy-tier
    depends_on:
      - proxy

networks:
  proxy-tier:

My system is:
Windows 10 + WSL2 + docker
i7 10700
32GB RAM
1 TB SSD samsung 970 evo

I also have the following errors in the admin panel. Maybe it will help to understand the reason.

There are some errors regarding your setup.
Some files have not passed the integrity check. Further information on how to resolve this issue can be found in the documentation. (List of invalid files… / Rescan…)
Your web server is not properly set up to resolve "/.well-known/webfinger". Further information can be found in the documentation.
Your web server is not properly set up to resolve "/.well-known/nodeinfo". Further information can be found in the documentation.
Your installation has no default phone region set. This is required to validate phone numbers in the profile settings without a country code. To allow numbers without a country code, please add "default_phone_region" with the respective ISO 3166-1 code ↗ of the region to your config file.
Module php-imagick in this instance has no SVG support. For better compatibility it is recommended to install it.

List of invalid files:

Technical information
=====================
The following list covers which files have failed the integrity check. Please read
the previous linked documentation to learn more about the errors and how to fix
them.

Results
=======
- core
	- FILE_MISSING
		- 3rdparty/aws/aws-sdk-php/src/ACMPCA/ACMPCAClient.php
		- 3rdparty/aws/aws-sdk-php/src/ACMPCA/Exception/ACMPCAException.php
		- 3rdparty/aws/aws-sdk-php/src/AbstractConfigurationProvider.php
		- 3rdparty/aws/aws-sdk-php/src/AccessAnalyzer/AccessAnalyzerClient.php
		- 3rdparty/aws/aws-sdk-php/src/AccessAnalyzer/Exception/AccessAnalyzerException.php
		- 3rdparty/aws/aws-sdk-php/src/Acm/AcmClient.php
		- 3rdparty/aws/aws-sdk-php/src/Acm/Exception/AcmException.php
		- 3rdparty/aws/aws-sdk-php/src/AlexaForBusiness/AlexaForBusinessClient.php
		- 3rdparty/aws/aws-sdk-php/src/AlexaForBusiness/Exception/AlexaForBusinessException.php
		- 3rdparty/aws/aws-sdk-php/src/Amplify/AmplifyClient.php
		- 3rdparty/aws/aws-sdk-php/src/Amplify/Exception/AmplifyException.php
		- 3rdparty/aws/aws-sdk-php/src/AmplifyBackend/AmplifyBackendClient.php
		- 3rdparty/aws/aws-sdk-php/src/AmplifyBackend/Exception/AmplifyBackendException.php
		- 3rdparty/aws/aws-sdk-php/src/Api/AbstractModel.php
		- 3rdparty/aws/aws-sdk-php/src/Api/ApiProvider.php
		- 3rdparty/aws/aws-sdk-php/src/Api/DateTimeResult.php
		- 3rdparty/aws/aws-sdk-php/src/Api/DocModel.php
		- 3rdparty/aws/aws-sdk-php/src/Api/ErrorParser/AbstractErrorParser.php
		- 3rdparty/aws/aws-sdk-php/src/Api/ErrorParser/JsonParserTrait.php
		- 3rdparty/aws/aws-sdk-php/src/Api/ErrorParser/JsonRpcErrorParser.php
		- 3rdparty/aws/aws-sdk-php/src/Api/ErrorParser/RestJsonErrorParser.php
		- 3rdparty/aws/aws-sdk-php/src/Api/ErrorParser/XmlErrorParser.php
		- 3rdparty/aws/aws-sdk-php/src/Api/ListShape.php
		- 3rdparty/aws/aws-sdk-php/src/Api/MapShape.php
		- 3rdparty/aws/aws-sdk-php/src/Api/Operation.php
		- 3rdparty/aws/aws-sdk-php/src/Api/Parser/AbstractParser.php
		- 3rdparty/aws/aws-sdk-php/src/Api/Parser/AbstractRestParser.php
		- 3rdparty/aws/aws-sdk-php/src/Api/Parser/Crc32ValidatingParser.php
		- 3rdparty/aws/aws-sdk-php/src/Api/Parser/DecodingEventStreamIterator.php
		- 3rdparty/aws/aws-sdk-php/src/Api/Parser/EventParsingIterator.php
		- 3rdparty/aws/aws-sdk-php/src/Api/Parser/Exception/ParserException.php
		- 3rdparty/aws/aws-sdk-php/src/Api/Parser/JsonParser.php
		- 3rdparty/aws/aws-sdk-php/src/Api/Parser/JsonRpcParser.php
		- 3rdparty/aws/aws-sdk-php/src/Api/Parser/MetadataParserTrait.php
		- 3rdparty/aws/aws-sdk-php/src/Api/Parser/PayloadParserTrait.php
		- 3rdparty/aws/aws-sdk-php/src/Api/Parser/QueryParser.php
		- 3rdparty/aws/aws-sdk-php/src/Api/Parser/RestJsonParser.php
		- 3rdparty/aws/aws-sdk-php/src/Api/Parser/RestXmlParser.php
		- 3rdparty/aws/aws-sdk-php/src/Api/Parser/XmlParser.php
		- 3rdparty/aws/aws-sdk-php/src/Api/Serializer/Ec2ParamBuilder.php
		- 3rdparty/aws/aws-sdk-php/src/Api/Serializer/JsonBody.php
		- 3rdparty/aws/aws-sdk-php/src/Api/Serializer/JsonRpcSerializer.php
		- 3rdparty/aws/aws-sdk-php/src/Api/Serializer/QueryParamBuilder.php
		- 3rdparty/aws/aws-sdk-php/src/Api/Serializer/QuerySerializer.php
		- 3rdparty/aws/aws-sdk-php/src/Api/Serializer/RestJsonSerializer.php
		- 3rdparty/aws/aws-sdk-php/src/Api/Serializer/RestSerializer.php
		- 3rdparty/aws/aws-sdk-php/src/Api/Serializer/RestXmlSerializer.php
		- 3rdparty/aws/aws-sdk-php/src/Api/Serializer/XmlBody.php
		- 3rdparty/aws/aws-sdk-php/src/Api/Service.php
		- 3rdparty/aws/aws-sdk-php/src/Api/Shape.php
		- 3rdparty/aws/aws-sdk-php/src/Api/ShapeMap.php
		- 3rdparty/aws/aws-sdk-php/src/Api/StructureShape.php
		- 3rdparty/aws/aws-sdk-php/src/Api/TimestampShape.php
		- 3rdparty/aws/aws-sdk-php/src/Api/Validator.php
		- 3rdparty/aws/aws-sdk-php/src/ApiGateway/ApiGatewayClient.php
		- 3rdparty/aws/aws-sdk-php/src/ApiGateway/Exception/ApiGatewayException.php
		- 3rdparty/aws/aws-sdk-php/src/ApiGatewayManagementApi/ApiGatewayManagementApiClient.php
		- 3rdparty/aws/aws-sdk-php/src/ApiGatewayManagementApi/Exception/ApiGatewayManagementApiException.php
		- 3rdparty/aws/aws-sdk-php/src/ApiGatewayV2/ApiGatewayV2Client.php
		- 3rdparty/aws/aws-sdk-php/src/ApiGatewayV2/Exception/ApiGatewayV2Exception.php
		- 3rdparty/aws/aws-sdk-php/src/AppConfig/AppConfigClient.php
		- 3rdparty/aws/aws-sdk-php/src/AppConfig/Exception/AppConfigException.php
		- 3rdparty/aws/aws-sdk-php/src/AppIntegrationsService/AppIntegrationsServiceClient.php
		- 3rdparty/aws/aws-sdk-php/src/AppIntegrationsService/Exception/AppIntegrationsServiceException.php
		- 3rdparty/aws/aws-sdk-php/src/AppMesh/AppMeshClient.php
		- 3rdparty/aws/aws-sdk-php/src/AppMesh/Exception/AppMeshException.php
		- 3rdparty/aws/aws-sdk-php/src/AppRegistry/AppRegistryClient.php
		- 3rdparty/aws/aws-sdk-php/src/AppRegistry/Exception/AppRegistryException.php
		- 3rdparty/aws/aws-sdk-php/src/AppSync/AppSyncClient.php
		- 3rdparty/aws/aws-sdk-php/src/AppSync/Exception/AppSyncException.php
		- 3rdparty/aws/aws-sdk-php/src/Appflow/AppflowClient.php
		- 3rdparty/aws/aws-sdk-php/src/Appflow/Exception/AppflowException.php
		- 3rdparty/aws/aws-sdk-php/src/ApplicationAutoScaling/ApplicationAutoScalingClient.php
		- 3rdparty/aws/aws-sdk-php/src/ApplicationAutoScaling/Exception/ApplicationAutoScalingException.php
		- 3rdparty/aws/aws-sdk-php/src/ApplicationDiscoveryService/ApplicationDiscoveryServiceClient.php
		- 3rdparty/aws/aws-sdk-php/src/ApplicationDiscoveryService/Exception/ApplicationDiscoveryServiceException.php
		- 3rdparty/aws/aws-sdk-php/src/ApplicationInsights/ApplicationInsightsClient.php
		- 3rdparty/aws/aws-sdk-php/src/ApplicationInsights/Exception/ApplicationInsightsException.php
		- 3rdparty/aws/aws-sdk-php/src/Appstream/AppstreamClient.php
		- 3rdparty/aws/aws-sdk-php/src/Appstream/Exception/AppstreamException.php
		- 3rdparty/aws/aws-sdk-php/src/Arn/AccessPointArn.php
		- 3rdparty/aws/aws-sdk-php/src/Arn/AccessPointArnInterface.php
		- 3rdparty/aws/aws-sdk-php/src/Arn/Arn.php
		- 3rdparty/aws/aws-sdk-php/src/Arn/ArnInterface.php
		- 3rdparty/aws/aws-sdk-php/src/Arn/ArnParser.php
		- 3rdparty/aws/aws-sdk-php/src/Arn/Exception/InvalidArnException.php
		- 3rdparty/aws/aws-sdk-php/src/Arn/ResourceTypeAndIdTrait.php
		- 3rdparty/aws/aws-sdk-php/src/Arn/S3/AccessPointArn.php
		- 3rdparty/aws/aws-sdk-php/src/Arn/S3/BucketArnInterface.php
		- 3rdparty/aws/aws-sdk-php/src/Arn/S3/OutpostsAccessPointArn.php
		- 3rdparty/aws/aws-sdk-php/src/Arn/S3/OutpostsArnInterface.php
		- 3rdparty/aws/aws-sdk-php/src/Arn/S3/OutpostsBucketArn.php
		- 3rdparty/aws/aws-sdk-php/src/Athena/AthenaClient.php
		- 3rdparty/aws/aws-sdk-php/src/Athena/Exception/AthenaException.php
		- 3rdparty/aws/aws-sdk-php/src/AuditManager/AuditManagerClient.php
		- 3rdparty/aws/aws-sdk-php/src/AuditManager/Exception/AuditManagerException.php
		- 3rdparty/aws/aws-sdk-php/src/AugmentedAIRuntime/AugmentedAIRuntimeClient.php
		- 3rdparty/aws/aws-sdk-php/src/AugmentedAIRuntime/Exception/AugmentedAIRuntimeException.php
		- 3rdparty/aws/aws-sdk-php/src/AutoScaling/AutoScalingClient.php
		- 3rdparty/aws/aws-sdk-php/src/AutoScaling/Exception/AutoScalingException.php
		- 3rdparty/aws/aws-sdk-php/src/AutoScalingPlans/AutoScalingPlansClient.php
		- 3rdparty/aws/aws-sdk-php/src/AutoScalingPlans/Exception/AutoScalingPlansException.php
		- 3rdparty/aws/aws-sdk-php/src/AwsClient.php
		- 3rdparty/aws/aws-sdk-php/src/AwsClientInterface.php
		- 3rdparty/aws/aws-sdk-php/src/AwsClientTrait.php
		- 3rdparty/aws/aws-sdk-php/src/Backup/BackupClient.php
		- 3rdparty/aws/aws-sdk-php/src/Backup/Exception/BackupException.php
		- 3rdparty/aws/aws-sdk-php/src/Batch/BatchClient.php
		- 3rdparty/aws/aws-sdk-php/src/Batch/Exception/BatchException.php
		- 3rdparty/aws/aws-sdk-php/src/Braket/BraketClient.php
		- 3rdparty/aws/aws-sdk-php/src/Braket/Exception/BraketException.php
		- 3rdparty/aws/aws-sdk-php/src/Budgets/BudgetsClient.php
		- 3rdparty/aws/aws-sdk-php/src/Budgets/Exception/BudgetsException.php
		- 3rdparty/aws/aws-sdk-php/src/CacheInterface.php
		- 3rdparty/aws/aws-sdk-php/src/Chime/ChimeClient.php
		- 3rdparty/aws/aws-sdk-php/src/Chime/Exception/ChimeException.php
		- 3rdparty/aws/aws-sdk-php/src/ClientResolver.php
		- 3rdparty/aws/aws-sdk-php/src/ClientSideMonitoring/AbstractMonitoringMiddleware.php
		- 3rdparty/aws/aws-sdk-php/src/ClientSideMonitoring/ApiCallAttemptMonitoringMiddleware.php
		- 3rdparty/aws/aws-sdk-php/src/ClientSideMonitoring/ApiCallMonitoringMiddleware.php
		- 3rdparty/aws/aws-sdk-php/src/ClientSideMonitoring/Configuration.php
		- 3rdparty/aws/aws-sdk-php/src/ClientSideMonitoring/ConfigurationInterface.php
		- 3rdparty/aws/aws-sdk-php/src/ClientSideMonitoring/ConfigurationProvider.php
		- 3rdparty/aws/aws-sdk-php/src/ClientSideMonitoring/Exception/ConfigurationException.php
		- 3rdparty/aws/aws-sdk-php/src/ClientSideMonitoring/MonitoringMiddlewareInterface.php
		- 3rdparty/aws/aws-sdk-php/src/Cloud9/Cloud9Client.php
		- 3rdparty/aws/aws-sdk-php/src/Cloud9/Exception/Cloud9Exception.php
		- 3rdparty/aws/aws-sdk-php/src/CloudDirectory/CloudDirectoryClient.php
		- 3rdparty/aws/aws-sdk-php/src/CloudDirectory/Exception/CloudDirectoryException.php
		- 3rdparty/aws/aws-sdk-php/src/CloudFormation/CloudFormationClient.php
		- 3rdparty/aws/aws-sdk-php/src/CloudFormation/Exception/CloudFormationException.php
		- 3rdparty/aws/aws-sdk-php/src/CloudFront/CloudFrontClient.php
		- 3rdparty/aws/aws-sdk-php/src/CloudFront/CookieSigner.php
		- 3rdparty/aws/aws-sdk-php/src/CloudFront/Exception/CloudFrontException.php
		- 3rdparty/aws/aws-sdk-php/src/CloudFront/Signer.php
		- 3rdparty/aws/aws-sdk-php/src/CloudFront/UrlSigner.php
		- 3rdparty/aws/aws-sdk-php/src/CloudHSMV2/CloudHSMV2Client.php
		- 3rdparty/aws/aws-sdk-php/src/CloudHSMV2/Exception/CloudHSMV2Exception.php
		- 3rdparty/aws/aws-sdk-php/src/CloudHsm/CloudHsmClient.php
		- 3rdparty/aws/aws-sdk-php/src/CloudHsm/Exception/CloudHsmException.php
		- 3rdparty/aws/aws-sdk-php/src/CloudSearch/CloudSearchClient.php
		- 3rdparty/aws/aws-sdk-php/src/CloudSearch/Exception/CloudSearchException.php
		- 3rdparty/aws/aws-sdk-php/src/CloudSearchDomain/CloudSearchDomainClient.php
		- 3rdparty/aws/aws-sdk-php/src/CloudSearchDomain/Exception/CloudSearchDomainException.php
		- 3rdparty/aws/aws-sdk-php/src/CloudTrail/CloudTrailClient.php
		- 3rdparty/aws/aws-sdk-php/src/CloudTrail/Exception/CloudTrailException.php
		- 3rdparty/aws/aws-sdk-php/src/CloudTrail/LogFileIterator.php
		- 3rdparty/aws/aws-sdk-php/src/CloudTrail/LogFileReader.php
		- 3rdparty/aws/aws-sdk-php/src/CloudTrail/LogRecordIterator.php
		- 3rdparty/aws/aws-sdk-php/src/CloudWatch/CloudWatchClient.php
		- 3rdparty/aws/aws-sdk-php/src/CloudWatch/Exception/CloudWatchException.php
		- 3rdparty/aws/aws-sdk-php/src/CloudWatchEvents/CloudWatchEventsClient.php
		- 3rdparty/aws/aws-sdk-php/src/CloudWatchEvents/Exception/CloudWatchEventsException.php
		- 3rdparty/aws/aws-sdk-php/src/CloudWatchLogs/CloudWatchLogsClient.php
		- 3rdparty/aws/aws-sdk-php/src/CloudWatchLogs/Exception/CloudWatchLogsException.php
		- 3rdparty/aws/aws-sdk-php/src/CodeArtifact/CodeArtifactClient.php
		- 3rdparty/aws/aws-sdk-php/src/CodeArtifact/Exception/CodeArtifactException.php
		- 3rdparty/aws/aws-sdk-php/src/CodeBuild/CodeBuildClient.php
		- 3rdparty/aws/aws-sdk-php/src/CodeBuild/Exception/CodeBuildException.php
		- 3rdparty/aws/aws-sdk-php/src/CodeCommit/CodeCommitClient.php
		- 3rdparty/aws/aws-sdk-php/src/CodeCommit/Exception/CodeCommitException.php
		- 3rdparty/aws/aws-sdk-php/src/CodeDeploy/CodeDeployClient.php
		- 3rdparty/aws/aws-sdk-php/src/CodeDeploy/Exception/CodeDeployException.php
		- 3rdparty/aws/aws-sdk-php/src/CodeGuruProfiler/CodeGuruProfilerClient.php
		- 3rdparty/aws/aws-sdk-php/src/CodeGuruProfiler/Exception/CodeGuruProfilerException.php
		- 3rdparty/aws/aws-sdk-php/src/data/accessanalyzer/2019-11-01/api-2.json.php
		- 3rdparty/aws/aws-sdk-php/src/data/accessanalyzer/2019-11-01/paginators-1.json.php
		- 3rdparty/aws/aws-sdk-php/src/data/acm-pca/2017-08-22/api-2.json.php
		- 3rdparty/aws/aws-sdk-php/src/data/acm-pca/2017-08-22/paginators-1.json.php
		- 3rdparty/aws/aws-sdk-php/src/data/acm-pca/2017-08-22/waiters-2.json.php
		- 3rdparty/aws/aws-sdk-php/src/data/acm/2015-12-08/api-2.json.php
		- 3rdparty/aws/aws-sdk-php/src/data/acm/2015-12-08/paginators-1.json.php
		- 3rdparty/aws/aws-sdk-php/src/data/acm/2015-12-08/smoke.json.php
		- 3rdparty/aws/aws-sdk-php/src/data/acm/2015-12-08/waiters-2.json.php
		- 3rdparty/aws/aws-sdk-php/src/data/alexaforbusiness/2017-11-09/api-2.json.php
		- 3rdparty/aws/aws-sdk-php/src/data/alexaforbusiness/2017-11-09/paginators-1.json.php
		-
......
and a lot of others
)

did you try top in the wsl2 machine?
did you check with the web tools in the browser the response time of the page? (shift-f5 in firefox) which elements needs how long to load. that might tell you where thing go wrong.

the warning can be ignored.

but you should check why the files are invalid.

${VOLUME_PATH}\cloud\nextcloud why do you use \ instead /? what’s the value of ${VOLUME_PATH}?

maybe use a linux server instead of windows. :wink: that is to say, the example file works fine. out-of-the-box. soomething went wrong on your side.

did you try top in the wsl2 machine?

top - 15:08:54 up 21:05,  0 users,  load average: 0.29, 0.17, 0.25
Tasks:  11 total,   1 running,   9 sleeping,   0 stopped,   1 zombie
%Cpu(s):  0.0 us,  0.1 sy,  0.0 ni, 99.9 id,  0.0 wa,  0.0 hi,  0.0 si,  0.0 st
MiB Mem :  15969.4 total,  11966.4 free,   1248.3 used,   2754.7 buff/cache
MiB Swap:   4096.0 total,   4096.0 free,      0.0 used.  13995.0 avail Mem

  PID USER      PR  NI    VIRT    RES    SHR S  %CPU  %MEM     TIME+ COMMAND                                   
    1 root      20   0    1736   1072   1000 S   0.0   0.0   0:00.06 init
  247 root      20   0    1756     72      0 S   0.0   0.0   0:00.00 init
  248 root      20   0    1756     88      0 S   0.0   0.0   0:00.00 init
  249 fedin     20   0  765036  43264  28684 S   0.0   0.3   0:00.49 docker
  250 root      20   0       0      0      0 Z   0.0   0.0   0:00.00 init
  278 root      20   0    1756     88      0 S   0.0   0.0   0:00.00 init
  279 root      20   0 1611840  31008  14316 S   0.0   0.2   0:00.21 docker-desktop-
  298 root      20   0    1756     72      0 S   0.0   0.0   0:00.00 init
  299 root      20   0    1756     88      0 S   0.0   0.0   0:00.01 init
  300 fedin     20   0   10032   5100   3388 S   0.0   0.0   0:00.03 bash
  363 fedin     20   0   10908   3744   3116 R   0.0   0.0   0:00.04 top 

The first part log from the network tab in chrome dev:
image
You can see that the first request precessed too long.

${VOLUME_PATH}\cloud\nextcloud why do you use \ instead / ? what’s the value of ${VOLUME_PATH} ?

I’m storing all data on the windows, that why I’m using \ instead /.
VOLUME_PATH='F:\cloudVolume'

maybe use a linux server instead of windows.

Yeah… It’s a good idea, but there are some reasons why I have to use windows on this server.
But technically this moment should not be the reason. I have other servers on this machine in docker or in WSL and they work fine.

funny that this is working.
i would never get the idea to work like this.

btw: how is that working? when i start ubuntu in wsl2 and type pwd i get /home/reiner. and when i try ls c:\ i get an > which obvious means: go on type the rest of your command.

In Windows we are using \ as a separator in the path.
My docker is installed on Windows that’s why I can mount my windows disk with docker.
In turn, docker use WSL2 as unix kernel, so finally I’m connecting windows disk and WSL directory.

I removed all connections of my windows disk with all containers (honestly not all, I left certs and acme folders) and all problems from settings was removed and the service started work very fast…
Seems that the problem with mounting docker volumes with windows space. Maybe it is converting from the unix file structure to windows, I don’t know…

Advise: “do not use windows” was the correct solution, unfortunately… I don’t think that somebody was surprised. :slight_smile:

UPD: Docker Desktop 2.3.02 host volume mount performance · Issue #6742 · docker/for-win · GitHub
[wsl2] filesystem performance is much slower than wsl1 in /mnt · Issue #4197 · microsoft/WSL · GitHub

I want to add a note on how I fixed my initial problem.
The problem was the following: I do not want to store the cloud data on the one disk with Windows 10. WSL and docker store all data and volumes (I mean docker volumes) on the disk C (with windows). That’s why I tried to mount all data to another disk.

As the solution for me was transferring docker-desktop-data to another disk. It turned out that it is possible. After transferring all data to another disk I just started use docker volumes without mounting without the problem with speed.

How to transfer data: Move WSL (Bash on Windows) root filesystem to another hard drive? - Stack Overflow