This repository contains a simple database schema and example subject data. You can use the provided docker-compose configuration to create a PostgreSQL container and optionally an Adminer container.
The database is used as a simple example setup to test to TOP Framework.
Follow these instructions to set up the example database:
-
Clone this repository
git clone https://github.com/Onto-Med/top-example-db.git cd top-example-db
-
Copy docker-compose.env.dist and modify it as needed
cp docker-compose.env.tpl docker-compose.env
-
Start the containers (you can leave out
--profile adminer
to just start the database)docker compose --profile adminer up -d --build
In addition, you can overwrite the following image build arguments by running docker compose build --build-arg ...
:
N
: number of subjects to generateMIN_DATE
: minimum birth date