bind logs outside of containers

This commit is contained in:
Andy Pack 2022-11-15 08:42:05 +00:00
parent 713c9e065c
commit cc850fdb49
Signed by: sarsoo
GPG Key ID: A55BA3536A5E0ED7
2 changed files with 4 additions and 0 deletions

View File

@ -11,6 +11,7 @@ services:
- redis - redis
volumes: volumes:
- "./Selector.Web/appsettings.Production.json:/app/appsettings.Production.json" - "./Selector.Web/appsettings.Production.json:/app/appsettings.Production.json"
- "./Selector.Web/log:/app/log"
environment: environment:
DOTNET_ENVIRONMENT: Production DOTNET_ENVIRONMENT: Production
@ -23,6 +24,7 @@ services:
- redis - redis
volumes: volumes:
- "./Selector.CLI/appsettings.Production.json:/app/appsettings.Production.json" - "./Selector.CLI/appsettings.Production.json:/app/appsettings.Production.json"
- "./Selector.CLI/log:/app/log"
environment: environment:
DOTNET_ENVIRONMENT: Production DOTNET_ENVIRONMENT: Production

View File

@ -10,6 +10,7 @@ services:
- redis - redis
volumes: volumes:
- "./Selector.Web/appsettings.Production.json:/app/appsettings.Production.json" - "./Selector.Web/appsettings.Production.json:/app/appsettings.Production.json"
- "./Selector.Web/log:/app/log"
environment: environment:
DOTNET_ENVIRONMENT: Production DOTNET_ENVIRONMENT: Production
@ -21,6 +22,7 @@ services:
- redis - redis
volumes: volumes:
- "./Selector.CLI/appsettings.Production.json:/app/appsettings.Production.json" - "./Selector.CLI/appsettings.Production.json:/app/appsettings.Production.json"
- "./Selector.CLI/log:/app/log"
environment: environment:
DOTNET_ENVIRONMENT: Production DOTNET_ENVIRONMENT: Production