We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2ea4d2d commit 5438bf5Copy full SHA for 5438bf5
Dockerfile
@@ -1,5 +1,5 @@
1
FROM freshrss/freshrss:1.15.2-alpine
2
LABEL maintainer "Levent SAGIROGLU <LSagiroglu@gmail.com>"
3
4
-VOLUME /FreshRSS-data
+VOLUME /shared
5
ADD constants.local.php /var/www/FreshRSS
constants.local.php
@@ -1,12 +1,12 @@
<?php
-/*
+
$dataPath = getenv('DATA_PATH');
if ($dataPath == '') {
$dataPath=FRESHRSS_PATH . '/data';
6
}
7
-*/
8
9
-safe_define('DATA_PATH', '/FreshRSS-data');
+safe_define('DATA_PATH', $dataPath);
10
safe_define('UPDATE_FILENAME', DATA_PATH . '/update.php');
11
safe_define('USERS_PATH', DATA_PATH . '/users');
12
safe_define('ADMIN_LOG', USERS_PATH . '/_/log.txt');
0 commit comments