Skip to content
Snippets Groups Projects
Commit 47eb22a0 authored by David Trattnig's avatar David Trattnig
Browse files

chore: remove DB related config and scripts

parent e7d3cfee
No related branches found
No related tags found
1 merge request!35ORM-less scheduling
Pipeline #6613 failed
......@@ -53,13 +53,6 @@ api_engine_store_clock="${AURA_ENGINE_API_BASE_URL}api/v1/clock"
api_engine_store_health="${AURA_ENGINE_API_BASE_URL}api/v1/source/health/${ENGINE_NUMBER}"
[scheduler]
# Database settings: Use 'postgresql' or 'mysql'
db_type="postgresql"
db_name="${AURA_ENGINE_DB_NAME}"
db_user="${AURA_ENGINE_DB_USER}"
db_pass="${AURA_ENGINE_DB_PASS}"
db_host="${AURA_ENGINE_DB_HOST}"
db_charset="utf8"
# Base path as seen by "engine-core", not accessed by "engine"; this is required to construct the absolute audio file path (check "Audio Store" in the docs)
# Either provide an absolute base path or a relative one starting in the `engine` directory. In case of `engine-core` running in docker use `/var/audio/source`
audio_source_folder="/var/audio/source"
......
......@@ -53,13 +53,6 @@ api_engine_store_clock="http://localhost:8008/api/v1/clock"
api_engine_store_health="http://localhost:8008/api/v1/source/health/${ENGINE_NUMBER}"
[scheduler]
# Database settings: Use 'postgresql', 'sqlite' or 'mysql'. In case of SQLite the "db_name" is the name of the file.
db_type="postgresql"
db_name="aura_engine"
db_user="aura_engine"
db_pass="---SECRET--PASSWORD---"
db_host="localhost"
db_charset="utf8"
# Base path as seen by "engine-core", not accessed by "engine"; this is required to construct the absolute audio file path (check "Audio Store" in the docs)
# Either provide an absolute base path or a relative one starting in the `engine` directory. In case of `engine-core` running in docker use `/var/audio/source`
audio_source_folder="../engine-core/audio/source"
......
CREATE DATABASE aura_engine CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;
CREATE USER 'aura_engine'@'localhost' IDENTIFIED BY '1234';
GRANT ALL PRIVILEGES ON aura_engine.* TO 'aura_engine'@'localhost';
FLUSH PRIVILEGES;
\ No newline at end of file
mysqlclient==1.3.12
\ No newline at end of file
\c postgres
create database aura_engine;
create user aura_engine with encrypted password '1234';
grant all privileges on database aura_engine to aura_engine;
\c postgres
drop database aura_engine;
drop user aura_engine;
......@@ -3,12 +3,6 @@ TZ=Europe/Vienna
# Possible values: debug, info, warning, error, critical
AURA_ENGINE_LOG_LEVEL=info
# Database for caching scheduling data
AURA_ENGINE_DB_HOST=127.0.0.1
AURA_ENGINE_DB_NAME=aura_engine
AURA_ENGINE_DB_USER=aura_engine
AURA_ENGINE_DB_PASS=1234
# API
AURA_ENGINE_API_BASE_URL=http://127.0.0.1:8008/
AURA_STEERING_BASE_URL=http://127.0.0.1:8000/
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment