mirror of
https://github.com/bitwarden/server.git
synced 2025-05-20 11:04:31 -05:00
fix: mssql error when running docker compose (#2810)
Fixes the error message, "services.mssql.environment.ACCEPT_EULA must be a string, number or null" when running `docker compose --profile mssql --profile mail up -d` during initial dev setup on MacOS.
This commit is contained in:
parent
a680dec0d4
commit
3b50ccb9f8
@ -4,7 +4,7 @@ services:
|
|||||||
mssql:
|
mssql:
|
||||||
image: mcr.microsoft.com/azure-sql-edge:latest
|
image: mcr.microsoft.com/azure-sql-edge:latest
|
||||||
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:
|
||||||
@ -13,15 +13,15 @@ services:
|
|||||||
- ./helpers/mssql:/mnt/helpers
|
- ./helpers/mssql:/mnt/helpers
|
||||||
- ./.data/mssql:/mnt/data
|
- ./.data/mssql:/mnt/data
|
||||||
ports:
|
ports:
|
||||||
- '1433:1433'
|
- "1433:1433"
|
||||||
profiles:
|
profiles:
|
||||||
- cloud
|
- cloud
|
||||||
- mssql
|
- mssql
|
||||||
|
|
||||||
storage:
|
storage:
|
||||||
image: mcr.microsoft.com/azure-storage/azurite:latest
|
image: mcr.microsoft.com/azure-storage/azurite:latest
|
||||||
ports:
|
ports:
|
||||||
- "10000:10000"
|
- "10000:10000"
|
||||||
- "10001:10001"
|
- "10001:10001"
|
||||||
- "10002:10002"
|
- "10002:10002"
|
||||||
volumes:
|
volumes:
|
||||||
@ -29,18 +29,18 @@ services:
|
|||||||
profiles:
|
profiles:
|
||||||
- storage
|
- storage
|
||||||
- cloud
|
- cloud
|
||||||
|
|
||||||
mail:
|
mail:
|
||||||
image: sj26/mailcatcher:latest
|
image: sj26/mailcatcher:latest
|
||||||
ports:
|
ports:
|
||||||
- "${MAILCATCHER_PORT}:1080"
|
- "${MAILCATCHER_PORT}:1080"
|
||||||
- "10250:1025"
|
- "10250:1025"
|
||||||
profiles:
|
profiles:
|
||||||
- mail
|
- mail
|
||||||
|
|
||||||
postgres:
|
postgres:
|
||||||
image: postgres:14
|
image: postgres:14
|
||||||
ports:
|
ports:
|
||||||
- "5432:5432"
|
- "5432:5432"
|
||||||
environment:
|
environment:
|
||||||
POSTGRES_DB: vault_dev
|
POSTGRES_DB: vault_dev
|
||||||
@ -56,7 +56,7 @@ services:
|
|||||||
mysql:
|
mysql:
|
||||||
image: mysql:8
|
image: mysql:8
|
||||||
container_name: bw-mysql
|
container_name: bw-mysql
|
||||||
ports:
|
ports:
|
||||||
- "3306:3306"
|
- "3306:3306"
|
||||||
command: --default-authentication-plugin=mysql_native_password
|
command: --default-authentication-plugin=mysql_native_password
|
||||||
environment:
|
environment:
|
||||||
@ -90,19 +90,19 @@ services:
|
|||||||
volumes:
|
volumes:
|
||||||
- ./directory.ldif:/container/service/slapd/assets/config/bootstrap/ldif/output.ldif
|
- ./directory.ldif:/container/service/slapd/assets/config/bootstrap/ldif/output.ldif
|
||||||
ports:
|
ports:
|
||||||
- '389:389'
|
- "389:389"
|
||||||
- '636:636'
|
- "636:636"
|
||||||
profiles:
|
profiles:
|
||||||
- ldap
|
- ldap
|
||||||
|
|
||||||
reverse-proxy:
|
reverse-proxy:
|
||||||
image: nginx:alpine
|
image: nginx:alpine
|
||||||
container_name: reverse-proxy
|
container_name: reverse-proxy
|
||||||
volumes:
|
volumes:
|
||||||
- "./reverse-proxy.conf:/etc/nginx/conf.d/default.conf"
|
- "./reverse-proxy.conf:/etc/nginx/conf.d/default.conf"
|
||||||
ports:
|
ports:
|
||||||
- "${API_PROXY_PORT}:${API_PROXY_PORT}"
|
- "${API_PROXY_PORT}:${API_PROXY_PORT}"
|
||||||
- "${IDENTITY_PROXY_PORT}:${IDENTITY_PROXY_PORT}"
|
- "${IDENTITY_PROXY_PORT}:${IDENTITY_PROXY_PORT}"
|
||||||
profiles:
|
profiles:
|
||||||
- proxy
|
- proxy
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user