update docker-compse

This commit is contained in:
Ryan Prather 2024-05-23 17:45:14 -04:00
parent 2c2381a0f1
commit 5ae8e5c50b

View File

@ -2,13 +2,14 @@ version: "3"
services:
sermon-notes:
container_name: sermon-notes
image: ryanprather/sermon-notes:latest
command:
- "php bin/console doctrine:migrations:migrate --no-interaction"
- "bash /var/www/html/install.sh"
build: .
- "bash install.sh"
environment:
- APP_ENV=prod
- DATABASE_URL="sqlite:///%kernel.project_dir%/data/data.db"
- DATABASE_URL="sqlite:///%kernel.project_dir%/var/data.db"
- MESSENGER_TRANSPORT_DSN=doctrine://default?auto_setup=0
# - DATABASE_URL="mysql://app:!ChangeMe!@127.0.0.1:3306/app"
# - DATABASE_URL="mysql://app:!ChangeMe!@127.0.0.1:3306/app?serverVersion=10.11.2-MariaDB&charset=utf8mb4"