Skip to content
Snippets Groups Projects
Commit 8cc748de authored by Patrick Jentsch's avatar Patrick Jentsch
Browse files

add stuff to enable instance scaling

parent b786bbdf
No related branches found
No related tags found
No related merge requests found
...@@ -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>
``` ```
version: "3.5"
services:
nopaque:
environment:
- NOPAQUE_DAEMON_ENABLED=False
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