mirror of
https://github.com/openclassify/openclassify.git
synced 2026-02-10 15:26:10 -06:00
commit
84dce14077
@ -35,8 +35,6 @@ services:
|
||||
depends_on:
|
||||
database:
|
||||
condition: service_healthy
|
||||
env_file: .env
|
||||
|
||||
|
||||
# Database Server
|
||||
database:
|
||||
|
||||
@ -19,10 +19,8 @@ fi
|
||||
role=${CONTAINER_ROLE:-app}
|
||||
|
||||
if [ "$role" = "app" ]; then
|
||||
if [ "$INSTALLED" = "false" ]; then
|
||||
echo ".env installed is false starting installing"
|
||||
php artisan install --ready
|
||||
fi
|
||||
exec docker-php-entrypoint "$@"
|
||||
elif [ "$role" = "queue" ]; then
|
||||
echo "Running the queue ... "
|
||||
|
||||
@ -38,7 +38,7 @@ if [[ $(which docker) && $(docker --version) ]]; then
|
||||
fi
|
||||
fi
|
||||
|
||||
cp -u .env-sail .env
|
||||
cp .env-sail .env
|
||||
|
||||
docker compose down -v
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user