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