# documentation: https://readeck.org/en/docs/
# slogan: Simple web application that lets you save the precious readable content of web pages you like and want to keep forever.
# tags: read-it-later,pocket-alternative,omnivore-alternative,instapaper-alternative
# logo: svgs/readeck.svg
# port: 8000

services:
  readeck:
    image: codeberg.org/readeck/readeck:latest
    environment:
      - SERVICE_FQDN_READECK
      - READECK_USE_X_FORWARDED=${READECK_USE_X_FORWARDED:-true}
    volumes:
      - readeck_data:/readeck
    healthcheck:
      test:
        - CMD
        - /bin/readeck
        - healthcheck
        - '-config'
        - config.toml
      interval: 30s
      timeout: 2s
      retries: 3
