Compare commits
No commits in common. "d9c60efc157bb10c8cc19648e1b72d0bb870b820" and "5ed6e1d34b49133668835e3dfdd290929af11ae2" have entirely different histories.
d9c60efc15
...
5ed6e1d34b
|
@ -25,7 +25,6 @@ services:
|
||||||
context: .
|
context: .
|
||||||
dockerfile: Dockerfile
|
dockerfile: Dockerfile
|
||||||
container_name: laravel
|
container_name: laravel
|
||||||
user: "1000:1000" # Match the host user's UID:GID
|
|
||||||
depends_on:
|
depends_on:
|
||||||
mysql:
|
mysql:
|
||||||
condition: service_healthy
|
condition: service_healthy
|
||||||
|
@ -38,7 +37,6 @@ services:
|
||||||
interval: 10s
|
interval: 10s
|
||||||
timeout: 5s
|
timeout: 5s
|
||||||
retries: 5
|
retries: 5
|
||||||
command: ["/var/www/html/start.sh"]
|
|
||||||
command: >
|
command: >
|
||||||
sh -c "sleep 10 && php artisan migrate --force && php-fpm"
|
sh -c "sleep 10 && php artisan migrate --force && php-fpm"
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
@ -64,4 +62,3 @@ networks:
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
mysql-data:
|
mysql-data:
|
||||||
mysql-data:
|
|
||||||
|
|
Loading…
Reference in New Issue