|
|
@ -36,13 +36,16 @@ services: |
|
|
|
sqlserver: |
|
|
|
sqlserver: |
|
|
|
condition: service_healthy |
|
|
|
condition: service_healthy |
|
|
|
sqlserver: |
|
|
|
sqlserver: |
|
|
|
image: alexk002/sqlserver2019_demo:1 |
|
|
|
image: mcr.microsoft.com/mssql/server:2019-latest |
|
|
|
ports: |
|
|
|
ports: |
|
|
|
- "1433:1433" |
|
|
|
- "1433:1433" |
|
|
|
|
|
|
|
environment: |
|
|
|
|
|
|
|
- MSSQL_SA_PASSWORD=OcP2020123 |
|
|
|
|
|
|
|
- ACCEPT_EULA=Y |
|
|
|
networks: |
|
|
|
networks: |
|
|
|
- e2e |
|
|
|
- e2e |
|
|
|
healthcheck: |
|
|
|
healthcheck: |
|
|
|
test: /opt/mssql-tools/bin/sqlcmd -S localhost -U sa -P OcP2020123 -Q "SELECT 1" |
|
|
|
test: /opt/mssql-tools18/bin/sqlcmd -S localhost -U sa -P OcP2020123 -Q "SELECT 1" -C |
|
|
|
interval: 5s |
|
|
|
interval: 5s |
|
|
|
timeout: 5s |
|
|
|
timeout: 5s |
|
|
|
retries: 120 |
|
|
|
retries: 120 |
|
|
|