Skip to content

Latest commit

 

History

History
61 lines (49 loc) · 1.81 KB

File metadata and controls

61 lines (49 loc) · 1.81 KB

Self-Hosting feedless

Simplest feedless setup is using docker.

Preparation

  1. Prepare environment flags
mkdir feedless
cd feedless
echo 'POSTGRES_USER=postgres
POSTGRES_PASSWORD=admin
POSTGRES_DB=feedless
APP_DATABASE_URL=jdbc:postgresql://postgres-db:5432/${POSTGRES_DB}
' > feedless.env
  1. Create a network
docker network create -d bridge feedless-net
  1. Start database
docker run --env-file=feedless.env --network=feedless-net --hostname=postgres -d postgres:15

Start All-In-One Image

  1. The minimal setup uses an image without headless chrome, so you will not be able to render Single-Page-Applications.
docker run --env-file=feedless.env --network=feedless-net -it damoeb/feedless:aio

Alternatively if you want JavaScript support use the feedless:aio-chromium image. This image includes a chrome browser for headless rendering.

docker run --env-file=feedless.env --network=feedless-net damoeb/feedless:aio-chromium
  1. Check the logs. The all-in-one images use by default a single-tenant authentication strategy that can be changed using environment flags.

Wait until you see the feedless banner

feedless-core_1   |               . .
feedless-core_1   |  ,-           | |
feedless-core_1   |  |  ,-. ,-. ,-| | ,-. ,-. ,-.
feedless-core_1   |  |- |-' |-' | | | |-' `-. `-.
feedless-core_1   |  |  `-' `-' `-' ' `-' `-' `-'
feedless-core_1   | -'
feedless-core_1   | 
feedless-core_1   | feedless:core v0.1.0-e144ffe https://github.com/damoeb/feedless
  1. Open UI in browser http://localhost:8080 and login using admin@localhost and password

Build All-In-One Image

Building images from scratch can be done using

shell
gradle :buildDockerAio