Back to Servicestack

Docker database server instances for testing

ServiceStack.OrmLite/src/Docker/readme.md

10.0.41.2 KB
Original Source

Docker database server instances for testing

This directory contains a docker compose file that can be used to create database server instances for running tests that do not support embedded instances. The list of db servers created is below.

To use, you must first have docker and docker compose installed.

To spin up all the database servers, run the following

bash
$> docker-compose up -d

To remove/teardown the database servers, run the following

bash
$> docker-compose down

Database servers created

DatabaseVersionPortDbNameDbUserDbPwd
Firebird3.0.448101testtesttest
MySql (mariaDb)5.5.x48201testroottest
MySql (mariaDb)10.1.x48202testroottest
MySql (mariaDb)10.2.x48203testroottest
MySql (mariaDb)10.3.x48204testroottest
MySql (mariaDb)10.4.x48205testroottest
Postgres9.x48301testtesttest
Postgres10.x48302testtesttest
Postgres11.x48303testtesttest
Oracle XE11.x48401SID: xesystemtest
MS SQL Server Express2019.x48501mastersaTest!tesT

What it looks like in action...