Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: bump mssql docker version #1252

Merged
merged 3 commits into from
Jan 29, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 13 additions & 2 deletions packages/_example/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,9 @@ services:
- mysql-data:/var/lib/mysql

mssql:
image: mcr.microsoft.com/azure-sql-edge
image: mcr.microsoft.com/mssql/server:2022-CU17-ubuntu-22.04
container_name: forest_agent_example_mssql
platform: linux/amd64
ports:
- '1433:1433'
environment:
Expand All @@ -36,6 +37,16 @@ services:
volumes:
- mssql-data:/var/opt/mssql

# waiting 30secs for mssql to be up and creating the 'example' database
sqlcmd:
image: mcr.microsoft.com/mssql-tools:latest
platform: linux/amd64
stdin_open: true
environment:
- MSSQL_SA_PASSWORD=yourStrong(!)Password
command: /bin/bash -c 'sleep 30 && /opt/mssql-tools/bin/sqlcmd -S mssql -U sa -P $$MSSQL_SA_PASSWORD -d master -Q "CREATE DATABASE example"'


mariadb:
image: mariadb:latest
container_name: forest_agent_example_mariadb
Expand Down Expand Up @@ -70,4 +81,4 @@ volumes:
mariadb-data:
driver: local
mongodb-data:
driver: local
driver: local
Loading