Skip to content

Commit

Permalink
fix: mssql error when running docker compose (#2810)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
skaiser authored Mar 23, 2023
1 parent a680dec commit 3b50ccb
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions dev/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -13,34 +13,34 @@ 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:
- ./.data/azurite:/data
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
Expand All @@ -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:
Expand Down Expand Up @@ -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

Expand Down

0 comments on commit 3b50ccb

Please sign in to comment.