Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
engine
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
Commits
e74a5d87
Commit
e74a5d87
authored
2 years ago
by
David Trattnig
Browse files
Options
Downloads
Patches
Plain Diff
feat: run docker with .env file
parent
72ad31a2
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Makefile
+1
-24
1 addition, 24 deletions
Makefile
sample.docker.env
+20
-0
20 additions, 0 deletions
sample.docker.env
with
21 additions
and
24 deletions
Makefile
+
1
−
24
View file @
e74a5d87
...
@@ -17,18 +17,6 @@ help::
...
@@ -17,18 +17,6 @@ help::
# Settings
# Settings
STEERING_BASE_URL
:=
http://0.0.0.0:8000/
ENGINE_API_BASE_URL
:=
http://0.0.0.0:8008/
TANK_BASE_URL
:=
http://0.0.0.0:8040/
ENGINE_TANK_SESSION
:=
engine
ENGINE_TANK_SECRET
:=
rather-secret
# ENGINE_DB_HOST := 172.17.0.1
ENGINE_DB_HOST
:=
0.0.0.0
ENGINE_DB_NAME
:=
aura_engine
ENGINE_DB_USER
:=
aura_engine
ENGINE_DB_PASS
:=
1234
AURA_ENGINE_CORE_SOCKET
:=
"aura_engine_socket"
AURA_ENGINE_CORE_SOCKET
:=
"aura_engine_socket"
AURA_ENGINE_CONFIG
:=
${
CURDIR
}
/config/engine.docker.ini
AURA_ENGINE_CONFIG
:=
${
CURDIR
}
/config/engine.docker.ini
AURA_AUDIO_STORE_SOURCE
:=
${
CURDIR
}
/../engine-core/audio/source
AURA_AUDIO_STORE_SOURCE
:=
${
CURDIR
}
/../engine-core/audio/source
...
@@ -40,18 +28,7 @@ DOCKER_RUN = @docker run \
...
@@ -40,18 +28,7 @@ DOCKER_RUN = @docker run \
--name
$(
APP_NAME
)
\
--name
$(
APP_NAME
)
\
--network
=
"host"
\
--network
=
"host"
\
--mount
type
=
tmpfs,destination
=
/tmp
\
--mount
type
=
tmpfs,destination
=
/tmp
\
--device
/dev/snd
\
--env-file
docker.env
\
--group-add
audio
\
-e
TZ
=
$(
TIMEZONE
)
\
-e
STEERING_BASE_URL
=
$(
STEERING_BASE_URL
)
\
-e
ENGINE_API_BASE_URL
=
$(
ENGINE_API_BASE_URL
)
\
-e
TANK_BASE_URL
=
$(
TANK_BASE_URL
)
\
-e
ENGINE_TANK_SESSION
=
$(
ENGINE_TANK_SESSION
)
\
-e
ENGINE_TANK_SECRET
=
$(
ENGINE_TANK_SECRET
)
\
-e
ENGINE_DB_HOST
=
$(
ENGINE_DB_HOST
)
\
-e
ENGINE_DB_NAME
=
$(
ENGINE_DB_NAME
)
\
-e
ENGINE_DB_USER
=
$(
ENGINE_DB_USER
)
\
-e
ENGINE_DB_PASS
=
$(
ENGINE_DB_PASS
)
\
-v
aura_engine_socket:
"/srv/socket"
\
-v
aura_engine_socket:
"/srv/socket"
\
-v
"
$(
AURA_ENGINE_CONFIG
)
"
:
"/etc/aura/engine.ini"
:ro
\
-v
"
$(
AURA_ENGINE_CONFIG
)
"
:
"/etc/aura/engine.ini"
:ro
\
-v
"
$(
AURA_AUDIO_STORE_SOURCE
)
"
:
"/var/audio/source"
:ro
\
-v
"
$(
AURA_AUDIO_STORE_SOURCE
)
"
:
"/var/audio/source"
:ro
\
...
...
This diff is collapsed.
Click to expand it.
sample.docker.env
0 → 100644
+
20
−
0
View file @
e74a5d87
TZ=Europe/Vienna
# Engine
AURA_ENGINE_FALLBACK_SHOW_NAME=Random Music
AURA_ENGINE_FALLBACK_SHOW_ID=-1
AURA_ENGINE_DB_HOST=172.17.0.1
AURA_ENGINE_DB_NAME=aura_engine
AURA_ENGINE_DB_USER=aura_engine
AURA_ENGINE_DB_PASS=1234
AURA_ENGINE_LATENCY_OFFSET=0.5
AURA_ENGINE_API_BASE_URL=http://172.17.0.1:8008/
# Steering
AURA_STEERING_BASE_URL=http://172.17.0.1:8000/
# Tank
AURA_TANK_BASE_URL=http://172.17.0.1:8040/
AURA_TANK_ENGINE_USER=engine
AURA_TANK_ENGINE_PASSWORD=rather-secret
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