Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
nopaque
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Monitor
Service Desk
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
SFB 1288 - INF
nopaque
Commits
8cc748de
Commit
8cc748de
authored
4 years ago
by
Patrick Jentsch
Browse files
Options
Downloads
Patches
Plain Diff
add stuff to enable instance scaling
parent
b786bbdf
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
README.md
+7
-1
7 additions, 1 deletion
README.md
docker-compose.scale.yml
+6
-0
6 additions, 0 deletions
docker-compose.scale.yml
with
13 additions
and
1 deletion
README.md
+
7
−
1
View file @
8cc748de
...
@@ -56,6 +56,12 @@ username@hostname:~$ docker-compose build
...
@@ -56,6 +56,12 @@ username@hostname:~$ docker-compose build
```
bash
```
bash
# Create log files
# Create log files
touch
nopaque.log nopaqued.log
touch
nopaque.log nopaqued.log
# For background execution add the -d flag
and to scale the app, add --scale web=<NUM-INSTANCES>
# For background execution add the -d flag
username@hostname:~
$
docker-compose up
username@hostname:~
$
docker-compose up
# To scale your app use
username@hostname:~
$
docker-compose
-f
docker-compose.yml
\
-f
docker-compose.override.yml
-f
docker-compose.scale.yml
up
-d
--no-recreate
--scale
nopaque
=
<NUM_INSTANCES>
```
```
This diff is collapsed.
Click to expand it.
docker-compose.scale.yml
0 → 100644
+
6
−
0
View file @
8cc748de
version
:
"
3.5"
services
:
nopaque
:
environment
:
-
NOPAQUE_DAEMON_ENABLED=False
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