From 3e3f4738754f53c27269e49982aeb96a900d091d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?R=C3=A9mi=20PAILHAREY?= <rpailharey@grandlyon.com>
Date: Wed, 25 Jan 2023 13:43:37 +0000
Subject: [PATCH] docs: updated ecolyo agent deployment

---
 docs/ecolyo-agent/technical/deploy.md | 48 +--------------------------
 1 file changed, 1 insertion(+), 47 deletions(-)

diff --git a/docs/ecolyo-agent/technical/deploy.md b/docs/ecolyo-agent/technical/deploy.md
index 3c57183..3b92c7c 100644
--- a/docs/ecolyo-agent/technical/deploy.md
+++ b/docs/ecolyo-agent/technical/deploy.md
@@ -1,51 +1,5 @@
 # Deploy Ecolyo-Agent application
 
-This section will allow you to properly deploy Ecolyo-Agent in a production environment
+This app is deployed on an Openshift cluster provided by Synaaps, all instructions for authentification and deployment are given [here](https://forge.grandlyon.com/web-et-numerique/factory/llle_project/backoffice-server/-/blob/dev/k8s/README.md)
 
-## Files
 
-To deploy ecolyo-agent application in a production environment, you need the following files :
-
-### docker-compose.yml
-
-Example [here](https://forge.grandlyon.com/web-et-numerique/factory/llle_project/backoffice-client/-/blob/dev/docker-compose.yml)
-
-### site.conf
-
-Find exemples [here](https://forge.grandlyon.com/web-et-numerique/factory/llle_project/backoffice-client/-/tree/dev/nginx)
-
-### .env
-
-In this file, add the variables as described in the env-template file in the git repository
-
-To use OAuth2 login ask your client ID and client secret
-
-Here is the config to run the app
-
-```env
-NODE_TLS_REJECT_UNAUTHORIZED = '0'
-HTTPS=true
-SSL_CRT_FILE=cert.pem
-SSL_KEY_FILE=key.pem
-```
-
-Complete with this example [here](https://forge.grandlyon.com/web-et-numerique/factory/llle_project/backoffice-server/-/blob/dev/.env.template)
-
-## Start the application
-
-Then start the app by launching the command :
-
-```sh
-docker-compose up -d
-```
-
-To check if the application starts successfully, launch the command
-
-```sh
-docker logs backoffice-client_backend_1
-```
-
-You should obtain the following messages:
-
-> --- Server is starting ---  
-> Token signing key set
-- 
GitLab