Init FreshRSS
This commit is contained in:
parent
033886db92
commit
b869e81a10
1
homelab/jafner-net/config/freshrss/.env
Normal file
1
homelab/jafner-net/config/freshrss/.env
Normal file
@ -0,0 +1 @@
|
||||
DOCKER_DATA=/mnt/nas/AppData/freshrss
|
50
homelab/jafner-net/config/freshrss/docker-compose.yml
Normal file
50
homelab/jafner-net/config/freshrss/docker-compose.yml
Normal file
@ -0,0 +1,50 @@
|
||||
version: '3'
|
||||
services:
|
||||
freshrss:
|
||||
image: freshrss/freshrss:edge
|
||||
container_name: freshrss_freshrss
|
||||
logging:
|
||||
driver: loki
|
||||
options:
|
||||
loki-url: http://localhost:3100/loki/api/v1/push
|
||||
loki-batch-size: "50"
|
||||
loki-retries: "1"
|
||||
loki-timeout: "2s"
|
||||
keep-file: "true"
|
||||
restart: "no"
|
||||
depends_on:
|
||||
- postgres
|
||||
networks:
|
||||
- freshrss
|
||||
- web
|
||||
volumes:
|
||||
- ${DOCKER_DATA}/freshrss/data:/var/www/FreshRSS/data
|
||||
- ${DOCKER_DATA}/freshrss/extensions:/var/www/FreshRSS/extensions
|
||||
- ./config.custom.php:/var/www/FreshRSS/data/config.custom.php
|
||||
- ./config-user.custom.php:/var/www/FreshRSS/config-user.custom.php
|
||||
env_file:
|
||||
- freshrss.env
|
||||
- freshrss_secrets.env
|
||||
labels:
|
||||
- traefik.http.routers.freshrss.rule=Host(`freshrss.jafner.net`)
|
||||
- traefik.http.routers.freshrss.tls.certresolver=lets-encrypt
|
||||
- traefik.http.routers.freshrss.tls.options=tls12@file
|
||||
- traefik.http.routers.freshrss.middlewares=securityheaders@file
|
||||
- traefik.http.services.freshrss.loadbalancer.server.port=8080
|
||||
|
||||
postgres:
|
||||
image: postgres:15
|
||||
container_name: freshrss_postgres
|
||||
networks:
|
||||
- freshrss
|
||||
restart: "no"
|
||||
volumes:
|
||||
- ${DOCKER_DATA}/postgres:/var/lib/postgresql/data
|
||||
env_file:
|
||||
- postgres.env
|
||||
- postgres_secrets.env
|
||||
|
||||
networks:
|
||||
web:
|
||||
external: true
|
||||
freshrss:
|
11
homelab/jafner-net/config/freshrss/freshrss.env
Normal file
11
homelab/jafner-net/config/freshrss/freshrss.env
Normal file
@ -0,0 +1,11 @@
|
||||
TZ=America/Los_Angeles
|
||||
CRON_MIN='2,32'
|
||||
FRESHRSS_ENV=development
|
||||
LISTEN=0.0.0.0:80
|
||||
ADMIN_EMAIL=jafner425@gmail.com
|
||||
|
||||
OIDC_ENABLED=1
|
||||
OIDC_PROVIDER_METADATA_URL=https://keycloak.jafner.net/realms/Jafner.net/.well-known/openid-configuration
|
||||
OIDC_CLIENT_ID=freshrss.jafner.net
|
||||
OIDC_REMOTE_USER_CLAIM=preferred_username
|
||||
OIDC_SCOPES=openid
|
2
homelab/jafner-net/config/freshrss/postgres.env
Normal file
2
homelab/jafner-net/config/freshrss/postgres.env
Normal file
@ -0,0 +1,2 @@
|
||||
POSTGRES_USER=freshrss
|
||||
POSTGRES_DB=freshrss
|
@ -3,7 +3,8 @@
|
||||
|:-----------------------:|:---:|
|
||||
| Client ID | In Keycloak, under the Jafner.net realm, click Clients -> Create Client. Set your own Client ID |
|
||||
| Client Secret | After creating the client in Keycloak, go to Clients -> <new client> -> Credentials. Then click the copy icon to the right of "Client secret".
|
||||
| Client Scopes | `email openid profile`
|
||||
| Client Scopes | `email openid profile` |
|
||||
| Metadata URL | https://keycloak.jafner.net/realms/Jafner.net/.well-known/openid-configuration |
|
||||
| Authorization URL | https://keycloak.jafner.net/realms/Jafner.net/protocol/openid-connect/auth |
|
||||
| Access token URL | https://keycloak.jafner.net/realms/Jafner.net/protocol/openid-connect/token |
|
||||
| Resource URL, Userinfo URL, API URL | https://keycloak.jafner.net/realms/Jafner.net/protocol/openid-connect/userinfo |
|
||||
|
Loading…
Reference in New Issue
Block a user