Skip to content

Commit

Permalink
fix: volume sqlite database in new location
Browse files Browse the repository at this point in the history
  • Loading branch information
Justintime50 committed May 6, 2024
1 parent 730c7d2 commit a235655
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,3 @@ vendor

# Laravel
src/storage/images/
database.sqlite
1 change: 1 addition & 0 deletions docker-compose-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion src/.env-example
Original file line number Diff line number Diff line change
Expand Up @@ -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=

Expand Down

0 comments on commit a235655

Please sign in to comment.