1
0
mirror of https://github.com/bitwarden/server.git synced 2024-11-26 12:55:17 +01:00

add ca-certificates

This commit is contained in:
Kyle Spearrin 2018-03-28 23:47:43 -04:00
parent 105f4b508b
commit da970c2308
2 changed files with 5 additions and 0 deletions

View File

@ -21,6 +21,10 @@ fi
chown -R $USERNAME:$USERNAME /app chown -R $USERNAME:$USERNAME /app
mkdir -p /etc/bitwarden/core mkdir -p /etc/bitwarden/core
mkdir -p /etc/bitwarden/logs mkdir -p /etc/bitwarden/logs
mkdir -p /etc/bitwarden/ca-certificates
chown -R $USERNAME:$USERNAME /etc/bitwarden chown -R $USERNAME:$USERNAME /etc/bitwarden
cp /etc/bitwarden/ca-certificates/*.crt /usr/local/share/ca-certificates/ \
&& update-ca-certificates
gosu $USERNAME:$USERNAME dotnet /app/Admin.dll gosu $USERNAME:$USERNAME dotnet /app/Admin.dll

View File

@ -173,6 +173,7 @@ services:
restart: always restart: always
volumes: volumes:
- ../core:/etc/bitwarden/core - ../core:/etc/bitwarden/core
- ../ca-certificates:/etc/bitwarden/ca-certificates
- ../logs/admin:/etc/bitwarden/logs - ../logs/admin:/etc/bitwarden/logs
env_file: env_file:
- global.env - global.env