2023-04-07 11:53:36 +02:00
2023-04-04 12:00:12 +02:00
2023-03-15 14:40:23 +01:00
2023-04-04 12:00:12 +02:00
2023-04-06 18:43:13 +02:00
2023-02-27 09:57:19 +01:00
2023-04-06 18:43:13 +02:00
2023-04-07 11:53:36 +02:00
2023-04-06 18:43:13 +02:00
2023-01-20 11:10:14 +01:00
2023-02-17 11:06:01 +01:00
2023-04-06 18:43:13 +02:00
2023-02-27 15:04:51 +01:00
2023-04-07 11:53:36 +02:00
2023-04-04 12:00:12 +02:00
2023-04-06 18:43:13 +02:00

leCoffre

[Owner: Elise Hautefaye]

A. Docker Launch application

1) Local RSA Key for docker build

  1. Create a file named : id_rsa in /src/.ssh
  2. Get the RSA Private key on Keeper who is allowed to read the leCoffre-ressources repo
  3. You can find Key on Keeper inside the folder LeCoffre project > SSH Key
  4. 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 Dockerfiles/Dockerfile.front .

3) Docker Run

docker run --env-file .env -p 3000:3000 le-coffre-back

4) Docker Compose

Docker compose allow to launch multiples images

  1. le-coffre-front
  2. le-coffre-back
  3. postgres

Launch your docker container with following command :

docker compose up -d

Description
No description provided
Readme MIT 87 MiB
Languages
TypeScript 99.7%
Dockerfile 0.1%
JavaScript 0.1%