1
0
mirror of https://github.com/bitwarden/server.git synced 2025-05-20 02:54:32 -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:
Stephen Kaiser 2023-03-23 16:14:40 +00:00 committed by GitHub
parent a680dec0d4
commit 3b50ccb9f8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4,7 +4,7 @@ services:
mssql:
image: mcr.microsoft.com/azure-sql-edge:latest
environment:
ACCEPT_EULA: Y
ACCEPT_EULA: "Y"
MSSQL_SA_PASSWORD: ${MSSQL_PASSWORD}
MSSQL_PID: Developer
volumes:
@ -13,15 +13,15 @@ services:
- ./helpers/mssql:/mnt/helpers
- ./.data/mssql:/mnt/data
ports:
- '1433:1433'
- "1433:1433"
profiles:
- cloud
- mssql
storage:
image: mcr.microsoft.com/azure-storage/azurite:latest
ports:
- "10000:10000"
ports:
- "10000:10000"
- "10001:10001"
- "10002:10002"
volumes:
@ -29,18 +29,18 @@ services:
profiles:
- storage
- cloud
mail:
image: sj26/mailcatcher:latest
ports:
- "${MAILCATCHER_PORT}:1080"
ports:
- "${MAILCATCHER_PORT}:1080"
- "10250:1025"
profiles:
- mail
postgres:
image: postgres:14
ports:
ports:
- "5432:5432"
environment:
POSTGRES_DB: vault_dev
@ -56,7 +56,7 @@ services:
mysql:
image: mysql:8
container_name: bw-mysql
ports:
ports:
- "3306:3306"
command: --default-authentication-plugin=mysql_native_password
environment:
@ -90,19 +90,19 @@ services:
volumes:
- ./directory.ldif:/container/service/slapd/assets/config/bootstrap/ldif/output.ldif
ports:
- '389:389'
- '636:636'
- "389:389"
- "636:636"
profiles:
- ldap
reverse-proxy:
image: nginx:alpine
container_name: reverse-proxy
volumes:
- "./reverse-proxy.conf:/etc/nginx/conf.d/default.conf"
ports:
- "${API_PROXY_PORT}:${API_PROXY_PORT}"
- "${IDENTITY_PROXY_PORT}:${IDENTITY_PROXY_PORT}"
ports:
- "${API_PROXY_PORT}:${API_PROXY_PORT}"
- "${IDENTITY_PROXY_PORT}:${IDENTITY_PROXY_PORT}"
profiles:
- proxy