Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
engine-api
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
AURA
engine-api
Commits
516f9cd8
Commit
516f9cd8
authored
4 years ago
by
David Trattnig
Browse files
Options
Downloads
Patches
Plain Diff
Sample configs.
parent
bed5e47f
No related branches found
No related tags found
No related merge requests found
Pipeline
#773
passed
4 years ago
Stage: bundle
Stage: deploy
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
config/sample/sample-development.engine-api.ini
+3
-0
3 additions, 0 deletions
config/sample/sample-development.engine-api.ini
config/sample/sample-production.engine-api.ini
+60
-0
60 additions, 0 deletions
config/sample/sample-production.engine-api.ini
with
63 additions
and
0 deletions
config/sample/sample-development.engine-api.ini
+
3
−
0
View file @
516f9cd8
...
...
@@ -37,12 +37,15 @@ api_port=8008
# The `synch_host` identifies the host where data is gathered from/synced to, depended on the
# chosen `node_type`.
# NODE 1
host_id
=
1
sync_host
=
"http://localhost:8010"
# NODE 2
; host_id=2
; sync_host="http://localhost:8010"
# NODE SYNC
; host_id=0
; main_host_1="http://localhost:8008"
; main_host_2="http://localhost:8009"
...
...
This diff is collapsed.
Click to expand it.
config/sample/sample-production.engine-api.ini
0 → 100644
+
60
−
0
View file @
516f9cd8
#######################
# Engine API Settings #
#######################
[database]
db_user
=
"aura"
db_name
=
"aura_engine_api"
db_pass
=
"---SECRET--PASSWORD---"
db_host
=
"localhost"
db_charset
=
"utf8"
[monitoring]
logdir
=
"./logs"
# possible values: debug, info, warning, error, critical
loglevel
=
"info"
debug_flask
=
"false"
[api]
api_port
=
8008
[federation]
# Defines the engine number id for identification of record sources. Default values are:
#
# 1 ... Engine 1 (main node)
# 2 ... Engine 2 (main node, not needed for single deployment)
# 0 ... Sync Host (sync node, not needed for single engine deployment)
#
# Engine API supports two deployment models:
#
# - "main": Deployed together with some `engine` (Single instance or for redundant engines)
# - "sync": Independent deployment, in charge of syncing data of two main-nodes
#
# The `synch_host` identifies the host where data is gathered from/synced to, depended on the
# chosen `node_type`.
# NODE 1
; host_id=1
; sync_host="http://engine.sync.local:8008"
# NODE 2
; host_id=2
; sync_host="http://engine.sync.local:8008"
# NODE SYNC
; host_id=0
; main_host_1="http://engine1.local:8008"
; main_host_2="http://engine2.local:8008"
; default_source=1
; sync_interval=3600
; sync_batch_size=100
; sync_step_sleep=0.23
# API endpoints to sync data from main to child nodes
sync_api_store_playlog
=
"/api/v1/playlog/store"
sync_api_store_healthlog
=
"/api/v1/source/health"
sync_api_get_playlog
=
"/api/v1/playlog"
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment