diff --git a/README.md b/README.md index 8c233226f1f47890f3a6dc0221e12f6f39b594d2..f991459a429e303ff35ce1c58ee4bb458881a376 100644 --- a/README.md +++ b/README.md @@ -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> ``` diff --git a/docker-compose.scale.yml b/docker-compose.scale.yml new file mode 100644 index 0000000000000000000000000000000000000000..f13b3550a4d355425e2aa45bb626049aa76b9ce7 --- /dev/null +++ b/docker-compose.scale.yml @@ -0,0 +1,6 @@ +version: "3.5" + +services: + nopaque: + environment: + - NOPAQUE_DAEMON_ENABLED=False