From e6fd2240d5629a0e9797589e6673c4d2df125240 Mon Sep 17 00:00:00 2001 From: FINTECHEANDO <60331640+fintecheando@users.noreply.github.com> Date: Tue, 12 Oct 2021 19:15:35 -0500 Subject: [PATCH] Update INSTALL.md --- INSTALL.md | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/INSTALL.md b/INSTALL.md index 39f9ce4c..d0b17794 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -42,13 +42,21 @@ There is a rudimentary docker-compose configuration for production usage (`docke cp dotenv.example .env.production vim .env.production ``` -1. Build the docker image (only once) +2. Build the docker image (only once) ``` - docker-compose -f docker-compose.yml.production-example build + docker-compose -f docker-compose.yml build ``` -1. Start the services +3. Start the services ``` - docker-compose -f docker-compose.yml.production-example up + docker-compose -f docker-compose.yml up + ``` +4. Stop the services + ``` + docker-compose -f docker-compose.yml down + ``` +5. Before starting the service again remove the server pid file. + ``` + rm -Rf tmp/pids/server.pid ``` ## Configuration