NOTE: These scripts as they stand, are configured to only use ephemeral storage and are for test and demo purposes only.
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
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