diff --git a/README.md b/README.md index 32c4315..972c367 100644 --- a/README.md +++ b/README.md @@ -62,4 +62,9 @@ terraform apply # Saisir yes quand demandé ``` -> Visiter l'adresse fournie en output du terraform apply \ No newline at end of file +> Visiter l'adresse fournie en output du terraform apply (Web-server-URL = "http://SERVER_IP:5000") + +- Stopper Terraform: +```bash +terraform destroy +``` \ No newline at end of file diff --git a/app/deploy.sh b/app/deploy.sh index 53eee0e..c425865 100644 --- a/app/deploy.sh +++ b/app/deploy.sh @@ -3,7 +3,4 @@ sudo apt-get update sudo apt-get install -yq docker.io sudo docker build --network=host -t flaskapp . -sudo docker run -d -p 5000:5000 flaskapp:latest -#python3 -m pip install flask -#python3 app.py >> log.txt 2>&1 & -#nohup python3 -u ./app.py > output.log & \ No newline at end of file +sudo docker run -d -p 5000:5000 flaskapp:latest \ No newline at end of file