Merge pull request #5771 from yguedidi/fix-sqlite-database-location

This commit is contained in:
Jérémy Benoist 2022-05-03 07:45:30 +02:00 committed by GitHub
commit 05b1f56c56
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 2 deletions

View file

@ -74,6 +74,7 @@ RUN mkdir -p \
/var/www/html/var/cache \
/var/www/html/web/assets \
/var/www/html/data \
/var/www/html/data/db \
/var/www/.cache
ENTRYPOINT ["/entrypoint.sh"]

View file

@ -6,7 +6,7 @@ parameters:
database_name: ${DATABASE_NAME:-symfony}
database_user: ${DATABASE_USER:-root}
database_password: ${DATABASE_PASSWORD:-~}
database_path: ${DATABASE_PATH:-"%kernel.root_dir%/data/wallabag.sqlite"}
database_path: ${DATABASE_PATH:-"%kernel.root_dir%/data/db/wallabag.sqlite"}
database_table_prefix: wallabag_
database_socket: null
database_charset: ${DATABASE_CHARSET:-utf8}

View file

@ -4,7 +4,7 @@ DATABASE_PORT=~
DATABASE_NAME=symfony
DATABASE_USER=root
DATABASE_PASSWORD=~
DATABASE_PATH="%kernel.project_dir%/data/wallabag.sqlite"
DATABASE_PATH="%kernel.project_dir%/data/db/wallabag.sqlite"
DOMAIN_NAME=http://localhost:8000
SECRET=ch4n63m31fy0uc4n
PHP_SESSION_SAVE_PATH=tcp://redis:6379?database=2