From f16b91d61b4c438c19f3d05d2adc77495772da7e Mon Sep 17 00:00:00 2001 From: Youssef Bahi Date: Wed, 15 Jan 2025 22:28:47 +0100 Subject: [PATCH] Add docker compose to app --- database/db.sqlite | Bin 12288 -> 12288 bytes docker-compose.yml | 9 +++++++++ index.php | 2 +- 3 files changed, 10 insertions(+), 1 deletion(-) create mode 100644 docker-compose.yml diff --git a/database/db.sqlite b/database/db.sqlite index 97ce6f974f58f63e3fa17cd8b3130b0ff9175daa..12280dec09953c66bdcaa1555b5d0bcdebed2825 100644 GIT binary patch delta 210 zcmZojXh@hK&B!`Y##xY+K`)t+mw|zSiC>R_zky$Gv!K8}zR9}$L7a7r?BbG=jE&)w zJNVUkGE)>h{X$&bU4s;KCa>pLnf!oXg@=WIB?JFc{>%J(_*Vio&g4%NWMO3xWt4U* zD$Ott%Ph_;$uAORW@V6Nl=d&pO{~mKRFHxS3ox-V2s26trzVL*MI;$n8B`giBlAm( xi&N7SoE$worJRdW6M<%cT*%1(g@OOeWq2zn))rVSxT-{xRCO_a;VPoWf#lZh+v!KEQegzRmR%u3QhRFQV;^NdaDd(cp k#FG3Xkg<&XUm5tn0#!ZcpBTWw&B@3t$ytz^Uyzdu0C{O54gdfE diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..7f3bdfa --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,9 @@ +services: + yaravel: + image: php:apache + container_name: yaravel + restart: always + ports: + - 9001:80 + volumes: + - .:/var/www/html diff --git a/index.php b/index.php index 9b5d89e..4d94d68 100644 --- a/index.php +++ b/index.php @@ -42,4 +42,4 @@ require_once "routes/api.php"; require_once "routes/web.php"; $router->run(); -// ------------------------------------------------------------------ \ No newline at end of file +// ------------------------------------------------------------------