adding dependencies

This commit is contained in:
armiejean 2025-03-21 22:34:40 +08:00
parent 9344fce668
commit f4af11e02e
2 changed files with 8082 additions and 6 deletions

8076
composer.lock generated Normal file

File diff suppressed because it is too large Load Diff

View File

@ -11,7 +11,7 @@ services:
mysql:
condition: service_healthy
volumes:
- ./app:/var/www/html
- .:/var/www
environment:
- DB_HOST=mysql
- DB_DATABASE=laravel
@ -19,9 +19,9 @@ services:
- DB_PASSWORD=root
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost"]
interval: 10s
timeout: 5s
retries: 3
interval: 20s
timeout: 10s
retries: 5
networks:
- laravel
@ -33,7 +33,7 @@ services:
MYSQL_ROOT_PASSWORD: root
MYSQL_DATABASE: laravel
ports:
- "3306:3306"
- "3307:3306"
healthcheck:
test: ["CMD", "mysqladmin", "ping", "-h", "localhost"]
interval: 10s
@ -51,7 +51,7 @@ services:
condition: service_healthy
volumes:
- ./nginx/nginx.conf:/etc/nginx/conf.d/default.conf
- ./app:/var/www/html
- .:/var/www
ports:
- "80:80"
networks: