From 5ae8e5c50bfb5a6bed6a9662adee9d5598ecbb21 Mon Sep 17 00:00:00 2001 From: Ryan Prather Date: Thu, 23 May 2024 17:45:14 -0400 Subject: [PATCH] update docker-compse --- docker-compose.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index b630581..468ea9d 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -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"