GithubHelp home page GithubHelp logo

ttrss-docker's Introduction

FingerlessGlov3s' Tiny Tiny RSS container

This is a simple docker container to deploy Tiny Tiny RSS as a container, only tested with mysql(mariadb) backend.

My instructions assume you use the path /docker for your docker containers.

  1. Install Docker Link
  2. Install Docker Compose Link
  3. Install Git Link
  4. Use the following commands to create the folder structure
    mkdir -p /docker/ttrss/plugins.local/
    mkdir -p /docker/ttrss/build/
    
  5. Clone this repo in to build folder git clone https://github.com/FingerlessGlov3s/ttrss-docker /docker/ttrss/build
  6. Clone SMTP mailer (optional) git clone https://git.tt-rss.org/fox/ttrss-mailer-smtp /docker/ttrss/plugins.local/mailer_smtp
  7. Now we need to create our docker-compose file /docker/docker-compose.yaml using the example below. You'll need to provide your own mysql and smtp details. If you don't already have a mysql server/container, you can use the offical mariadb container here example is provided below. Remove the SMTP related environment variables if you didn't install the mailer plugin in step 2. Make sure to change the passwords.
    version: "2"
    
    services:
      ttrss:
        build:
          context: /docker/ttrss/build/
          dockerfile: Dockerfile
        container_name: ttrss
        hostname: ttrss
        restart: always
        depends_on:
          - mariadb
        environment:
          - TTRSS_DB_TYPE=mysql
          - TTRSS_DB_HOST=mariadb
          - TTRSS_DB_PORT=3306
          - TTRSS_DB_NAME=ttrss
          - TTRSS_DB_USER=ttrss
          - TTRSS_DB_PASS=HCQctvJfU6LZJwQS9zz9BUd8Ai93pu95SS8HBjFk
          - TTRSS_SELF_URL_PATH=http://hostip
          - TTRSS_PLUGINS=auth_internal,mailer_smtp
          - TTRSS_SMTP_SERVER=smtp.gmail.com:587
          - TTRSS_SMTP_SECURE=tls
          - [email protected]
          - TTRSS_SMTP_FROM_NAME=Tiny Tiny RSS
          - [email protected]
          - TTRSS_SMTP_PASSWORD=AppPassword
        volumes:
          - /docker/ttrss/plugins.local:/var/www/html/plugins.local
        ports:
          - 80:80
    
      mariadb:
        image: mariadb
        container_name: mariadb
        hostname: mariadb
        restart: always
        environment:
          - MARIADB_ROOT_PASSWORD=mM3oa4cQ8RqKD28mfEydPZAB3QnoWRCtomoxCy7f
          - MARIADB_DATABASE=ttrss
          - MARIADB_USER=ttrss
          - MARIADB_PASSWORD=HCQctvJfU6LZJwQS9zz9BUd8Ai93pu95SS8HBjFk
        volumes:
          - /docker/mariadb:/var/lib/mysql
  8. Build and start the container docker-compose build ttrss && docker-compose up -d with your current directory as /docker/
  9. It'll take a moment to start and then you can go to container's URL. Default login is admin/password

ttrss-docker's People

Contributors

fingerlessglov3s avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.