Running a standalone database instance
In case when a 3rd party MySQL instance is required:
- 1.Create a database and a user. User must have the following permissions:GRANT SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, REFERENCES, INDEX, ALTER, LOCK TABLES, EXECUTE, CREATE ROUTINE, ALTER ROUTINE
- 2.Provide the following environment variables:UI_BAKERY_DB_HOST=192.168.0.1UI_BAKERY_DB_PORT=3306UI_BAKERY_DB_DATABASE=bakeryUI_BAKERY_DB_USERNAME=usernameUI_BAKERY_DB_PASSWORD=password
- 3.Run
docker-compose -f ./docker-compose-external-db.yml up
to start the containers, alternatively,docker-compose -f ./docker-compose-external-db.yml up -d
to run containers in the background.