diff --git a/project.nomad b/project.nomad index b2c18b3482606140c610a25e25865bc18fbae43e..6e040e72f1788ca225456d09d0985239e5be4000 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 {