1
0
mirror of https://github.com/bitwarden/server.git synced 2025-02-16 01:51:21 +01:00

add bitwarden- prefix to docker service names

This commit is contained in:
Kyle Spearrin 2017-12-11 11:49:10 -05:00
parent 59fc1df754
commit 3d05c9208f
3 changed files with 15 additions and 15 deletions

View File

@ -87,7 +87,7 @@ namespace Bit.Setup
version: '3'
services:
mssql:
bitwarden-mssql:
image: bitwarden/mssql:{CoreVersion}
container_name: bitwarden-mssql
restart: always
@ -110,21 +110,21 @@ services:
- mssql.env
- ../env/mssql.override.env
web:
bitwarden-web:
image: bitwarden/web:{WebVersion}
container_name: bitwarden-web
restart: always
volumes:
- ../web:/etc/bitwarden/web
attachments:
bitwarden-attachments:
image: bitwarden/attachments:{CoreVersion}
container_name: bitwarden-attachments
restart: always
volumes:
- ../core/attachments:/etc/bitwarden/core/attachments
api:
bitwarden-api:
image: bitwarden/api:{CoreVersion}
container_name: bitwarden-api
restart: always
@ -134,7 +134,7 @@ services:
- global.env
- ../env/global.override.env
identity:
bitwarden-identity:
image: bitwarden/identity:{CoreVersion}
container_name: bitwarden-identity
restart: always
@ -145,12 +145,12 @@ services:
- global.env
- ../env/global.override.env
icons:
bitwarden-icons:
image: bitwarden/icons:{CoreVersion}
container_name: bitwarden-icons
restart: always
nginx:
bitwarden-nginx:
image: bitwarden/nginx:{CoreVersion}
container_name: bitwarden-nginx
restart: always

View File

@ -35,7 +35,7 @@ namespace Bit.Setup
private void Init(bool forInstall)
{
var dbConnectionString = Helpers.MakeSqlConnectionString("mssql", "vault", "sa", DatabasePassword);
var dbConnectionString = Helpers.MakeSqlConnectionString("bitwarden-mssql", "vault", "sa", DatabasePassword);
_globalValues = new Dictionary<string, string>
{
["globalSettings__baseServiceUri__vault"] = Url,
@ -125,7 +125,7 @@ globalSettings__selfHosted=true
globalSettings__baseServiceUri__vault=http://localhost
globalSettings__baseServiceUri__api=http://localhost/api
globalSettings__baseServiceUri__identity=http://localhost/identity
globalSettings__baseServiceUri__internalIdentity=http://identity
globalSettings__baseServiceUri__internalIdentity=http://bitwarden-identity
globalSettings__pushRelayBaseUri=https://push.bitwarden.com
globalSettings__installation__identityUri=https://identity.bitwarden.com
");

View File

@ -169,29 +169,29 @@ server {{
sw.WriteLine($@"
location / {{
proxy_pass http://web/;
proxy_pass http://bitwarden-web/;
}}
location = /app-id.json {{
proxy_pass http://web/app-id.json;
proxy_pass http://bitwarden-web/app-id.json;
proxy_hide_header Content-Type;
add_header Content-Type $fido_content_type;
}}
location /attachments/ {{
proxy_pass http://attachments/;
proxy_pass http://bitwarden-attachments/;
}}
location /api/ {{
proxy_pass http://api/;
proxy_pass http://bitwarden-api/;
}}
location /identity/ {{
proxy_pass http://identity/;
proxy_pass http://bitwarden-identity/;
}}
location /icons/ {{
proxy_pass http://icons/;
proxy_pass http://bitwarden-icons/;
}}
}}");
}