mirror of
https://github.com/wallabag/wallabag.git
synced 2024-11-22 17:11:07 +00:00
Fix SQLite database location
This commit is contained in:
parent
d4a331af4a
commit
1efe54859f
3 changed files with 3 additions and 2 deletions
|
@ -74,6 +74,7 @@ RUN mkdir -p \
|
||||||
/var/www/html/var/cache \
|
/var/www/html/var/cache \
|
||||||
/var/www/html/web/assets \
|
/var/www/html/web/assets \
|
||||||
/var/www/html/data \
|
/var/www/html/data \
|
||||||
|
/var/www/html/data/db \
|
||||||
/var/www/.cache
|
/var/www/.cache
|
||||||
|
|
||||||
ENTRYPOINT ["/entrypoint.sh"]
|
ENTRYPOINT ["/entrypoint.sh"]
|
||||||
|
|
|
@ -6,7 +6,7 @@ parameters:
|
||||||
database_name: ${DATABASE_NAME:-symfony}
|
database_name: ${DATABASE_NAME:-symfony}
|
||||||
database_user: ${DATABASE_USER:-root}
|
database_user: ${DATABASE_USER:-root}
|
||||||
database_password: ${DATABASE_PASSWORD:-~}
|
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_table_prefix: wallabag_
|
||||||
database_socket: null
|
database_socket: null
|
||||||
database_charset: ${DATABASE_CHARSET:-utf8}
|
database_charset: ${DATABASE_CHARSET:-utf8}
|
||||||
|
|
|
@ -4,7 +4,7 @@ DATABASE_PORT=~
|
||||||
DATABASE_NAME=symfony
|
DATABASE_NAME=symfony
|
||||||
DATABASE_USER=root
|
DATABASE_USER=root
|
||||||
DATABASE_PASSWORD=~
|
DATABASE_PASSWORD=~
|
||||||
DATABASE_PATH="%kernel.project_dir%/data/wallabag.sqlite"
|
DATABASE_PATH="%kernel.project_dir%/data/db/wallabag.sqlite"
|
||||||
DOMAIN_NAME=http://localhost:8000
|
DOMAIN_NAME=http://localhost:8000
|
||||||
SECRET=ch4n63m31fy0uc4n
|
SECRET=ch4n63m31fy0uc4n
|
||||||
PHP_SESSION_SAVE_PATH=tcp://redis:6379?database=2
|
PHP_SESSION_SAVE_PATH=tcp://redis:6379?database=2
|
||||||
|
|
Loading…
Reference in a new issue