first commit

This commit is contained in:
franv 2020-10-20 10:18:32 -07:00
commit 806c15f65e
8 changed files with 257 additions and 0 deletions

11
data/.htaccess Normal file
View File

@ -0,0 +1,11 @@
# Apache 2.2
<IfModule !mod_authz_core.c>
Order Allow,Deny
Deny from all
Satisfy all
</IfModule>
# Apache 2.4
<IfModule mod_authz_core.c>
Require all denied
</IfModule>

View File

68
data/config.php Normal file
View File

@ -0,0 +1,68 @@
<?php
return array (
'environment' => '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,
);

68
data/config.php.bak.php Normal file
View File

@ -0,0 +1,68 @@
<?php
return array (
'environment' => '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,
);

0
data/index.html Normal file
View File

61
docker-compose.yml Normal file
View File

@ -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

44
docker-compose.yml.orig Normal file
View File

@ -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

5
extensions/README.md Normal file
View File

@ -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).