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