From e9e8518c0e26b70b65c20b4d06bc59577e31db50 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?u=C4=B1=D7=9F=C7=9Dnbs=C9=90W=20=D7=9F=C7=9D=C9=90=CA=9E?=
 =?UTF-8?q?=C9=94=C4=B1W?= <mickael.masquelin@univ-lille.fr>
Date: Wed, 5 Oct 2022 10:49:30 +0200
Subject: [PATCH] Update project.nomad

---
 project.nomad | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/project.nomad b/project.nomad
index b2c18b3..6e040e7 100644
--- a/project.nomad
+++ b/project.nomad
@@ -22,12 +22,17 @@ job "php-worker-service" {
 
     task "php-fpm" {
 
+      artifact {
+        source = "git::http://gitlab-backend.priv.lifl.fr/masqueli/hello-world-nomad.git"
+        destination = "local/datas/"
+      }
+
       driver = "docker"
 
       config {
         image = "php:7-fpm"
         ports = ["php-fpm"]
-        volumes = [ "local/datas/index.html:/usr/share/nginx/html/index.html", "local/datas/mesinfos.php:/usr/share/nginx/html/mesinfos.php" ]
+        # volumes = [ "local/datas/index.html:/usr/share/nginx/html/index.html", "local/datas/mesinfos.php:/usr/share/nginx/html/mesinfos.php" ]
       }
 
       service {
-- 
GitLab