Skip to content
This repository has been archived by the owner on Sep 6, 2022. It is now read-only.

Latest commit

 

History

History
44 lines (32 loc) · 1.39 KB

readme.md

File metadata and controls

44 lines (32 loc) · 1.39 KB

Deploy Onix containers without orchestration

NOTE: These scripts as they stand, are configured to only use ephemeral storage and are for test and demo purposes only.

Using Docker Compose

To spin up Onix using Docker Compose:

  • copy the .env, the docker-compose.yaml and up_with_compose.sh files to a local folder
  • open the .env file and update the following password variables:
    • PG_ADMIN_PWD: the postgres admin database user password
    • ONIX_DB_PWD: the onix database user password
    • DBMAN_HTTP_PWD: the DbMan Web API HTTP admin user password
    • ONIX_HTTP_ADMIN_PWD: the Onix Web API HTTP admin user password
    • ONIX_HTTP_READER_PWD: the Onix Web API HTTP reader user password
    • ONIX_HTTP_WRITER_PWD: the Onix Web API HTTP writer user password
  • finally run the up_with_compose.sh script, which will ensure schemas are installed and passwords updated accordingly
sh up_with_compose.sh

To destroy the containers:

docker-conpose down

Using bare Docker

If you do not want to install Docker Compose, then:

sh up_without_compose.sh

To destroy the containers:

docker rm -f oxdb
docker rm -f ox
docker rm -f oxku
docker rm -f dbman