commit 806c15f65e5463862a98a637588aed094f3295ea Author: franv Date: Tue Oct 20 10:18:32 2020 -0700 first commit diff --git a/data/.htaccess b/data/.htaccess new file mode 100644 index 0000000..32eca30 --- /dev/null +++ b/data/.htaccess @@ -0,0 +1,11 @@ +# Apache 2.2 + + Order Allow,Deny + Deny from all + Satisfy all + + +# Apache 2.4 + + Require all denied + diff --git a/data/applied_migrations.txt b/data/applied_migrations.txt new file mode 100644 index 0000000..e69de29 diff --git a/data/config.php b/data/config.php new file mode 100644 index 0000000..f63a7de --- /dev/null +++ b/data/config.php @@ -0,0 +1,68 @@ + 'production', + 'salt' => 'a22ccca4febd38bd10ea7420d979a1fb82e77926', + 'base_url' => 'https://fresh.airdog.site', + 'auto_update_url' => 'https://update.freshrss.org', + 'language' => 'en', + 'title' => 'FreshRSS', + 'meta_description' => '', + 'default_user' => 'fossilfranv', + 'force_email_validation' => false, + 'allow_anonymous' => true, + 'allow_anonymous_refresh' => true, + 'auth_type' => 'form', + 'http_auth_auto_register' => true, + 'http_auth_auto_register_email_field' => '', + 'api_enabled' => true, + 'unsafe_autologin_enabled' => false, + 'simplepie_syslog_enabled' => true, + 'pubsubhubbub_enabled' => true, + 'allow_robots' => false, + 'allow_referrer' => false, + 'limits' => + array ( + 'cookie_duration' => 2592000, + 'cache_duration' => 800, + 'timeout' => 15, + 'max_inactivity' => 9223372036854775807, + 'max_feeds' => 16384, + 'max_categories' => 16384, + 'max_registrations' => 1, + ), + 'curl_options' => + array ( + ), + 'db' => + array ( + 'type' => 'pgsql', + 'host' => 'freshrss-db', + 'user' => 'itsme', + 'password' => 'notagain', + 'base' => 'freshrss', + 'prefix' => '', + 'connection_uri_params' => '', + 'pdo_options' => + array ( + ), + ), + 'mailer' => 'mail', + 'smtp' => + array ( + 'hostname' => '', + 'host' => 'localhost', + 'port' => 25, + 'auth' => false, + 'auth_type' => '', + 'username' => '', + 'password' => '', + 'secure' => '', + 'from' => 'root@localhost', + ), + 'extensions_enabled' => + array ( + 'Google-Groups' => true, + 'Tumblr-GDPR' => true, + ), + 'disable_update' => false, +); diff --git a/data/config.php.bak.php b/data/config.php.bak.php new file mode 100644 index 0000000..28f3c65 --- /dev/null +++ b/data/config.php.bak.php @@ -0,0 +1,68 @@ + 'production', + 'salt' => 'a22ccca4febd38bd10ea7420d979a1fb82e77926', + 'base_url' => 'https://fresh.franv.site', + 'auto_update_url' => 'https://update.freshrss.org', + 'language' => 'en', + 'title' => 'FreshRSS', + 'meta_description' => '', + 'default_user' => 'fossilfranv', + 'force_email_validation' => false, + 'allow_anonymous' => false, + 'allow_anonymous_refresh' => false, + 'auth_type' => 'form', + 'http_auth_auto_register' => true, + 'http_auth_auto_register_email_field' => '', + 'api_enabled' => false, + 'unsafe_autologin_enabled' => false, + 'simplepie_syslog_enabled' => true, + 'pubsubhubbub_enabled' => true, + 'allow_robots' => false, + 'allow_referrer' => false, + 'limits' => + array ( + 'cookie_duration' => 2592000, + 'cache_duration' => 800, + 'timeout' => 15, + 'max_inactivity' => 9223372036854775807, + 'max_feeds' => 16384, + 'max_categories' => 16384, + 'max_registrations' => 1, + ), + 'curl_options' => + array ( + ), + 'db' => + array ( + 'type' => 'pgsql', + 'host' => 'freshrss-db', + 'user' => 'itsme', + 'password' => 'notagain', + 'base' => 'freshrss', + 'prefix' => '', + 'connection_uri_params' => '', + 'pdo_options' => + array ( + ), + ), + 'mailer' => 'mail', + 'smtp' => + array ( + 'hostname' => '', + 'host' => 'localhost', + 'port' => 25, + 'auth' => false, + 'auth_type' => '', + 'username' => '', + 'password' => '', + 'secure' => '', + 'from' => 'root@localhost', + ), + 'extensions_enabled' => + array ( + 'Google-Groups' => true, + 'Tumblr-GDPR' => true, + ), + 'disable_update' => false, +); \ No newline at end of file diff --git a/data/index.html b/data/index.html new file mode 100644 index 0000000..e69de29 diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..8099416 --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,61 @@ +version: "3" + +services: + freshrss_postgresql: + image: postgres:12 + restart: unless-stopped + container_name: freshrss-db + volumes: + - ./pgsql_data:/var/lib/postgresql/data + environment: + - PUID=1002 + - PGID=1002 + - POSTGRES_USER=itsme + - POSTGRES_PASSWORD=notagain + - POSTGRES_DB=freshrss + networks: + fresh_backend: + + freshrss: + image: freshrss/freshrss + restart: unless-stopped +# ports: +# - "8080:80" + depends_on: + - freshrss_postgresql + volumes: + - ./data:/var/www/FreshRSS/data + - ./extensions:/var/www/FreshRSS/extensions + environment: + - PUID=1002 + - PGID=1002 + - CRON_MIN=*/20 + - VIRTUAL_HOST=fresh.airdog.site + - LETSENCRYPT_HOST=fresh.airdog.site + - LETSENCRYPT_EMAIL=ouch@thetrauma.org + - VIRTUAL_PORT=80 + - LABEL=com.centurylinklabs.watchtower.enable=true + networks: + franvproxy_test_proxy-tier: + fresh_backend: + + +# - TZ=Europe/Copenhagen +# labels: +# - "traefik.port=80" + +#volumes: +# pgsql_data: +# freshrss_data: +# freshrss_extensions: + +#networks: +# default: +# external: +# name: franvproxy_proxy-tier + + +networks: + fresh_backend: + franvproxy_test_proxy-tier: + external: true diff --git a/docker-compose.yml.orig b/docker-compose.yml.orig new file mode 100644 index 0000000..5eb56f2 --- /dev/null +++ b/docker-compose.yml.orig @@ -0,0 +1,44 @@ +version: "3" + +services: + freshrss_postgresql: + image: postgres + restart: unless-stopped + container_name: freshrss-db + volumes: + - pgsql_data:/var/lib/postgresql/data + environment: + - POSTGRES_USER=itsme + - POSTGRES_PASSWORD=notagain + - POSTGRES_DB=freshrss + + freshrss: + image: freshrss/freshrss + restart: unless-stopped +# ports: +# - "8080:80" + depends_on: + - freshrss_postgresql + volumes: + - freshrss_data:/var/www/FreshRSS/data + - freshrss_extensions:/var/www/FreshRSS/extensions + environment: + - CRON_MIN=*/20 + - VIRTUAL_HOST=fresh.franv.site + - LETSENCRYPT_HOST=fresh.franv.site + - LETSENCRYPT_EMAIL=ouch@thetrauma.org + - VIRTUAL_PORT=80 + - LABEL=com.centurylinklabs.watchtower.enable=true + +# - TZ=Europe/Copenhagen +# labels: +# - "traefik.port=80" + +volumes: + pgsql_data: + freshrss_data: + freshrss_extensions: +networks: + default: + external: + name: franvproxy_proxy-tier diff --git a/extensions/README.md b/extensions/README.md new file mode 100644 index 0000000..9833196 --- /dev/null +++ b/extensions/README.md @@ -0,0 +1,5 @@ +# FreshRSS third-party extensions + +You may place custom extensions for FreshRSS in this directory. + +You can find some extensions in our [GitHub repository](https://github.com/FreshRSS/Extensions).