mirror of
https://github.com/bitwarden/server.git
synced 2025-06-30 15:42:48 -05:00
logs dir
This commit is contained in:
@ -101,7 +101,8 @@ services:
|
||||
else
|
||||
{
|
||||
sw.Write(@"
|
||||
- ../mssql/data:/var/opt/mssql/data");
|
||||
- ../mssql/data:/var/opt/mssql/data
|
||||
- ../logs/mssql:/var/opt/mssql/log");
|
||||
}
|
||||
|
||||
sw.Write($@"
|
||||
@ -135,6 +136,7 @@ services:
|
||||
restart: always
|
||||
volumes:
|
||||
- ../core:/etc/bitwarden/core
|
||||
- ../logs/api:/etc/bitwarden/logs
|
||||
env_file:
|
||||
- global.env
|
||||
- ../env/uid.env
|
||||
@ -147,6 +149,7 @@ services:
|
||||
volumes:
|
||||
- ../identity:/etc/bitwarden/identity
|
||||
- ../core:/etc/bitwarden/core
|
||||
- ../logs/identity:/etc/bitwarden/logs
|
||||
env_file:
|
||||
- global.env
|
||||
- ../env/uid.env
|
||||
@ -158,6 +161,7 @@ services:
|
||||
restart: always
|
||||
volumes:
|
||||
- ../core:/etc/bitwarden/core
|
||||
- ../logs/admin:/etc/bitwarden/logs
|
||||
env_file:
|
||||
- global.env
|
||||
- ../env/uid.env
|
||||
@ -181,7 +185,7 @@ services:
|
||||
- ../nginx:/etc/bitwarden/nginx
|
||||
- ../letsencrypt:/etc/letsencrypt
|
||||
- ../ssl:/etc/ssl
|
||||
- ../core/logs/nginx:/var/log/nginx
|
||||
- ../logs/nginx:/var/log/nginx
|
||||
env_file:
|
||||
- ../env/uid.env");
|
||||
|
||||
|
@ -46,7 +46,7 @@ namespace Bit.Setup
|
||||
["globalSettings__attachment__baseDirectory"] = $"{OutputDirectory}/core/attachments",
|
||||
["globalSettings__attachment__baseUrl"] = $"{Url}/attachments",
|
||||
["globalSettings__dataProtection__directory"] = $"{OutputDirectory}/core/aspnet-dataprotection",
|
||||
["globalSettings__logDirectory"] = $"{OutputDirectory}/core/logs",
|
||||
["globalSettings__logDirectory"] = $"{OutputDirectory}/logs",
|
||||
["globalSettings__licenseDirectory"] = $"{OutputDirectory}/core/licenses",
|
||||
["globalSettings__duo__aKey"] = $"{Helpers.SecureRandomString(64, alpha: true, numeric: true)}",
|
||||
["globalSettings__installation__id"] = InstallationId?.ToString(),
|
||||
|
Reference in New Issue
Block a user