mirror of
https://github.com/knex/knex.git
synced 2025-09-21 06:03:55 +00:00

* Run SQL Server tests locally running SQL server in docker * Made oracledb test script naming consistent with mssql * Updated documentation with more info about oracledb and mssql testing
26 lines
513 B
YAML
26 lines
513 B
YAML
version: '3'
|
|
|
|
services:
|
|
mssql:
|
|
image: microsoft/mssql-server-linux:2017-latest
|
|
ports:
|
|
- "1433:1433"
|
|
environment:
|
|
- ACCEPT_EULA=Y
|
|
- SA_PASSWORD=S0meVeryHardPassword
|
|
initmssqlknexdb:
|
|
image: microsoft/mssql-server-linux:2017-latest
|
|
links:
|
|
- mssql
|
|
entrypoint:
|
|
- /opt/mssql-tools/bin/sqlcmd
|
|
- -S
|
|
- mssql
|
|
- -U
|
|
- sa
|
|
- -P
|
|
- S0meVeryHardPassword
|
|
- -d
|
|
- master
|
|
- -Q
|
|
- "CREATE DATABASE knex_test" |