mirror of
https://github.com/maelgangloff/domain-watchdog.git
synced 2025-12-29 16:15:04 +00:00
fix: instantiate DB on first launch with Docker
This commit is contained in:
@@ -6,3 +6,10 @@ services:
|
|||||||
target: frankenphp_prod
|
target: frankenphp_prod
|
||||||
environment:
|
environment:
|
||||||
APP_SECRET: ${APP_SECRET}
|
APP_SECRET: ${APP_SECRET}
|
||||||
|
|
||||||
|
php-worker:
|
||||||
|
build:
|
||||||
|
context: .
|
||||||
|
target: frankenphp_prod
|
||||||
|
restart: always
|
||||||
|
command: php /app/bin/console messenger:consume --all --time-limit=3600 -vvv
|
||||||
|
|||||||
@@ -54,6 +54,7 @@ if [ "$1" = 'frankenphp' ] || [ "$1" = 'php' ] || [ "$1" = 'bin/console' ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
php bin/console lexik:jwt:generate-keypair || true
|
php bin/console lexik:jwt:generate-keypair || true
|
||||||
|
php bin/console app:update-rdap-servers
|
||||||
|
|
||||||
setfacl -R -m u:www-data:rwX -m u:"$(whoami)":rwX var
|
setfacl -R -m u:www-data:rwX -m u:"$(whoami)":rwX var
|
||||||
setfacl -dR -m u:www-data:rwX -m u:"$(whoami)":rwX var
|
setfacl -dR -m u:www-data:rwX -m u:"$(whoami)":rwX var
|
||||||
|
|||||||
Reference in New Issue
Block a user