Skip to content

Commit

Permalink
Add docker compose to app
Browse files Browse the repository at this point in the history
  • Loading branch information
you97ssef committed Jan 15, 2025
1 parent e983637 commit f16b91d
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
Binary file modified database/db.sqlite
Binary file not shown.
9 changes: 9 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
services:
yaravel:
image: php:apache
container_name: yaravel
restart: always
ports:
- 9001:80
volumes:
- .:/var/www/html
2 changes: 1 addition & 1 deletion index.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,4 @@
require_once "routes/api.php";
require_once "routes/web.php";
$router->run();
// ------------------------------------------------------------------
// ------------------------------------------------------------------

0 comments on commit f16b91d

Please sign in to comment.