Links

Running a standalone database instance

In case when a 3rd party MySQL instance is required:
  1. 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. 2.
    Provide the following environment variables:
    UI_BAKERY_DB_HOST=192.168.0.1
    UI_BAKERY_DB_PORT=3306
    UI_BAKERY_DB_DATABASE=bakery
    UI_BAKERY_DB_USERNAME=username
    UI_BAKERY_DB_PASSWORD=password
  3. 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.