From a235655cdd21851520c66dab03ff63952fe571a6 Mon Sep 17 00:00:00 2001 From: Justintime50 <39606064+Justintime50@users.noreply.github.com> Date: Sun, 5 May 2024 21:35:18 -0600 Subject: [PATCH] fix: volume sqlite database in new location --- .gitignore | 1 - docker-compose-prod.yml | 1 + src/.env-example | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 73ec1e5..2caab38 100644 --- a/.gitignore +++ b/.gitignore @@ -17,4 +17,3 @@ vendor # Laravel src/storage/images/ -database.sqlite diff --git a/docker-compose-prod.yml b/docker-compose-prod.yml index ec6e965..79f658f 100644 --- a/docker-compose-prod.yml +++ b/docker-compose-prod.yml @@ -19,3 +19,4 @@ services: - 'traefik.http.routers.justinpaulhammond.tls.certresolver=letsencrypt' volumes: - ./src/storage:/var/www/html/storage + - ./src/database/database.sqlite/var/www/html/database/database.sqlite diff --git a/src/.env-example b/src/.env-example index 4670af6..12d1feb 100644 --- a/src/.env-example +++ b/src/.env-example @@ -22,7 +22,7 @@ LOG_LEVEL=debug DB_CONNECTION=sqlite # DB_HOST=127.0.0.1 # DB_PORT=3306 -DB_DATABASE=/var/www/html/storage/database/database.sqlite +# DB_DATABASE= # DB_USERNAME=root # DB_PASSWORD=