mirror of
https://github.com/bitwarden/server.git
synced 2024-11-21 12:05:42 +01:00
Move from Azure SQL Edge to native SQL Server (#4786)
* Move from Azure SQL Edge to native SQL Server * Update .devcontainer/bitwarden_common/docker-compose.yml Co-authored-by: Oscar Hinton <Hinton@users.noreply.github.com> * Update dev/docker-compose.yml Co-authored-by: Oscar Hinton <Hinton@users.noreply.github.com> --------- Co-authored-by: Oscar Hinton <Hinton@users.noreply.github.com>
This commit is contained in:
parent
03bd47e390
commit
9dedaa5acf
@ -9,7 +9,8 @@ services:
|
|||||||
command: sleep infinity
|
command: sleep infinity
|
||||||
|
|
||||||
bitwarden_mssql:
|
bitwarden_mssql:
|
||||||
image: mcr.microsoft.com/azure-sql-edge:latest
|
image: mcr.microsoft.com/mssql/server:2022-latest
|
||||||
|
platform: linux/amd64
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
env_file:
|
env_file:
|
||||||
../../dev/.env
|
../../dev/.env
|
||||||
@ -17,7 +18,7 @@ services:
|
|||||||
ACCEPT_EULA: "Y"
|
ACCEPT_EULA: "Y"
|
||||||
MSSQL_PID: Developer
|
MSSQL_PID: Developer
|
||||||
volumes:
|
volumes:
|
||||||
- edgesql_dev_data:/var/opt/mssql
|
- mssql_dev_data:/var/opt/mssql
|
||||||
- ../../util/Migrator:/mnt/migrator/
|
- ../../util/Migrator:/mnt/migrator/
|
||||||
- ../../dev/helpers/mssql:/mnt/helpers
|
- ../../dev/helpers/mssql:/mnt/helpers
|
||||||
- ../../dev/.data/mssql:/mnt/data
|
- ../../dev/.data/mssql:/mnt/data
|
||||||
@ -29,4 +30,4 @@ services:
|
|||||||
network_mode: service:bitwarden_server
|
network_mode: service:bitwarden_server
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
edgesql_dev_data:
|
mssql_dev_data:
|
||||||
|
@ -2,13 +2,14 @@ version: "3.9"
|
|||||||
|
|
||||||
services:
|
services:
|
||||||
mssql:
|
mssql:
|
||||||
image: mcr.microsoft.com/azure-sql-edge:latest
|
image: mcr.microsoft.com/mssql/server:2022-latest
|
||||||
|
platform: linux/amd64
|
||||||
environment:
|
environment:
|
||||||
ACCEPT_EULA: "Y"
|
ACCEPT_EULA: "Y"
|
||||||
MSSQL_SA_PASSWORD: ${MSSQL_PASSWORD}
|
MSSQL_SA_PASSWORD: ${MSSQL_PASSWORD}
|
||||||
MSSQL_PID: Developer
|
MSSQL_PID: Developer
|
||||||
volumes:
|
volumes:
|
||||||
- edgesql_dev_data:/var/opt/mssql
|
- mssql_dev_data:/var/opt/mssql
|
||||||
- ../util/Migrator:/mnt/migrator/
|
- ../util/Migrator:/mnt/migrator/
|
||||||
- ./helpers/mssql:/mnt/helpers
|
- ./helpers/mssql:/mnt/helpers
|
||||||
- ./.data/mssql:/mnt/data
|
- ./.data/mssql:/mnt/data
|
||||||
@ -109,6 +110,6 @@ services:
|
|||||||
- proxy
|
- proxy
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
edgesql_dev_data:
|
mssql_dev_data:
|
||||||
postgres_dev_data:
|
postgres_dev_data:
|
||||||
mysql_dev_data:
|
mysql_dev_data:
|
||||||
|
Loading…
Reference in New Issue
Block a user