
Delete folder only if no customers linked in office_folder_has_customers
leCoffre
[Owner: Elise Hautefaye]
A. Docker Launch application
1) Local RSA Key for docker build
- Create a file named :
id_rsa
in /src/.ssh - Get the RSA Private key on Keeper who is allowed to read the
leCoffre-ressources repo
- You can find Key on Keeper inside the folder LeCoffre project > SSH Key
- Copy past in the
id_rsa
that you created step 1
🚨 Be aware to have the id_rsa included in your .gitignore! This ssh shouldn't be push on github
You need to do the same task in the front and back repo.
2) Build images
a- Back end
docker build -t "le-coffre-back" -f Dockerfile .
b- Front end
docker build -t "le-coffre-front" -f Dockerfile .
3) Docker Compose
Docker compose allow to launch multiples images
- le-coffre-front
- le-coffre-back
- postgres
Launch your docker container with following command :
docker compose up
-> Logs in terminal
docker compose up -d
Languages
TypeScript
99.7%
Dockerfile
0.1%
JavaScript
0.1%