From 85abc2bd7f075a706a7c1692d75276d1b56ae945 Mon Sep 17 00:00:00 2001 From: sandre Date: Fri, 15 May 2026 17:49:23 +0200 Subject: [PATCH] Update doc --- TODO.md | 0 doc.md | 17 +++++++++++++++++ doc.txt | 11 ----------- 3 files changed, 17 insertions(+), 11 deletions(-) delete mode 100644 TODO.md create mode 100644 doc.md delete mode 100644 doc.txt diff --git a/TODO.md b/TODO.md deleted file mode 100644 index e69de29..0000000 diff --git a/doc.md b/doc.md new file mode 100644 index 0000000..e8e4a7c --- /dev/null +++ b/doc.md @@ -0,0 +1,17 @@ +# Manual +## To build an image "skydivelogs" with the version "1.6.0": + podman build . -t skydivelogs:1.6.0 + +## To run ab image to container with volume : + podman run -v ./Front/skydivelogs-app/src/config:/usr/share/nginx/html/config:z -v ./Back/skydiveLogs-api/Data:/app/Data:z -d -p 5080:80/tcp --name Skydivelogs-1.6.0 -it skydivelogs:1.6.0 + +## To save the image before to updload to the server : + podman save --output skydivelogs-1.6.0.tar skydivelogs:1.6.0 + +## Updload to the server : + scp -P 5022 skydivelogs-1.6.0.tar administrator@51.75.68.58:~ + +# By a registry +podman login home.git.sebastienandre.com +podman build -t home.git.sebastienandre.com/sandre/skydivelogs:1.7.0 . +podman push home.git.sebastienandre.com/sandre/skydivelogs:1.7.0 \ No newline at end of file diff --git a/doc.txt b/doc.txt deleted file mode 100644 index 15b8ff5..0000000 --- a/doc.txt +++ /dev/null @@ -1,11 +0,0 @@ -To build an image "skydivelogs" with the version "1.6.0": - podman build . -t skydivelogs:1.6.0 - -To run ab image to container with volume : - podman run -v ./Front/skydivelogs-app/src/config:/usr/share/nginx/html/config:z -v ./Back/skydiveLogs-api/Data:/app/Data:z -d -p 5080:80/tcp --name Skydivelogs-1.6.0 -it skydivelogs:1.6.0 - -To save the image before to updload to the server : - podman save --output skydivelogs-1.6.0.tar skydivelogs:1.6.0 - -Updload to the server : - scp -P 5022 skydivelogs-1.6.0.tar administrator@51.75.68.58:~