mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2024-11-14 16:55:42 +00:00
add stuff to enable instance scaling
This commit is contained in:
parent
b786bbdfb1
commit
8cc748de94
@ -56,6 +56,12 @@ username@hostname:~$ docker-compose build
|
||||
``` bash
|
||||
# Create log files
|
||||
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
|
||||
# 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>
|
||||
```
|
||||
|
6
docker-compose.scale.yml
Normal file
6
docker-compose.scale.yml
Normal file
@ -0,0 +1,6 @@
|
||||
version: "3.5"
|
||||
|
||||
services:
|
||||
nopaque:
|
||||
environment:
|
||||
- NOPAQUE_DAEMON_ENABLED=False
|
Loading…
Reference in New Issue
Block a user