Skip to content

Latest commit

 

History

History
54 lines (44 loc) · 1.23 KB

README.md

File metadata and controls

54 lines (44 loc) · 1.23 KB

ontop-dockertests

This repository contains the necessary files to build the images for ontop testing.

  1. Execute build of the database of your interest: e.g. build-db2.sh

  2. Execute the corresponding run file: e.g. run-db2.sh

  3. To remove completely the docker image execute the remove file: e.g. remove-db2.sh

Start and stop all DB-containers

To start the containers:

  1. Create the .env file in which all the passwords are specified:
cp .env.example .env
  1. Start the Docker container:
docker-compose -f docker-compose.public.yml pull 
docker-compose -f docker-compose.public.yml up 

The container is run on the foreground and can be stopped by pressing CTRL-C.

  1. Stop and remove the containers:
docker-compose -f docker-compose.public.yml down

Build images from local Dockerfiles

  1. Create the .env file in which all the passwords are specified:
cp .env.example .env
  1. Build the docker images:
docker-compose build 
  1. Start the Docker container:
docker-compose up

The container is run on the foreground and can be stopped by pressing CTRL-C.

  1. Stop and remove the containers:
docker-compose down