Giter Site home page Giter Site logo

Comments (8)

Rixcloudllnll avatar Rixcloudllnll commented on May 24, 2024 1

My docker-compose.yml

version: "3"
services:
  database.postgres:
    image: sameersbn/postgresql:latest
    container_name: postgres
    environment:
      - PG_PASSWORD=hidden # please change the password
      - DB_EXTENSION=pg_trgm
    volumes:
      - ~/postgres/data/:/var/lib/postgresql/ # persist postgres data to ~/postgres/data/ on the host
    restart: always

  service.rss:
    image: wangqiru/ttrss:latest
    container_name: ttrss
    ports:
      - port_hidden:80
    environment:
      - SELF_URL_PATH=hidden # please change to your own domain
      - DB_HOST=database.postgres
      - DB_PORT=5432
      - DB_NAME=ttrss
      - DB_USER=postgres
      - DB_PASS=hidden # please change the password
      - SESSION_COOKIE_LIFETIME=8760 #  one year
      - ENABLE_PLUGINS=auth_internal,fever # auth_internal is required. Plugins enabled here will be enabled for all users as system plugins
    stdin_open: true
    tty: true
    restart: always
    command: sh -c 'sh /wait-for.sh database.postgres:5432 -- php /configure-db.php && exec s6-svscan /etc/s6/'

  service.mercury: # set Mercury Parser API endpoint to `service.mercury:3000` on TTRSS plugin setting page
    image: wangqiru/mercury-parser-api:latest
    container_name: mercury
    expose:
      - 3000
    restart: always

  service.opencc: # set OpenCC API endpoint to `service.opencc:3000` on TTRSS plugin setting page
    image: wangqiru/opencc-api-server:latest
    container_name: opencc
    environment:
      NODE_ENV: production
    expose:
      - 3000
    restart: always

One more question, after I editing docker-compose.yml, can I just run docker-compose up -d to update the ttrss ? Or I have to run docker stop 951391b6436a first ?

from awesome-ttrss.

Rixcloudllnll avatar Rixcloudllnll commented on May 24, 2024

Do I have to set Default update interval: to Disable Update before I apply the crontab command?

from awesome-ttrss.

Rixcloudllnll avatar Rixcloudllnll commented on May 24, 2024

Hi @SuperNG6 , I found your article on the Internet Tiny Tiny RSS 部署流程. Did you achieve this feature updating ttrss from crontab ?

from awesome-ttrss.

HenryQW avatar HenryQW commented on May 24, 2024

Hi, the sole purpose of the stack is to provide an easy way to deploy TTRSS, I don’t want to expose those complicated settings. You can docker exec -it ttrss sh shell into the container to find update.php. However, each time you update the base image, every setting will be lost.

Yes you can run compose up -d directly to reflect your settings.

from awesome-ttrss.

SuperNG6 avatar SuperNG6 commented on May 24, 2024

Hi @SuperNG6 , I found your article on the Internet Tiny Tiny RSS 部署流程. Did you achieve this feature updating ttrss from crontab ?

you can read this article

https://sleele.com/2019/06/16/docker更新容器镜像神器-watchtower/

docker run -d
--name watchtower
-v /var/run/docker.sock:/var/run/docker.sock
containrrr/watchtower --cleanup --interval 600
ttrss

from awesome-ttrss.

SuperNG6 avatar SuperNG6 commented on May 24, 2024

from awesome-ttrss.

stale avatar stale commented on May 24, 2024

This issue has been automatically marked as stale because it has not had recent activity in 14 days. It will be closed if no further activity occurs in 7 days. Thank you for your contributions.

from awesome-ttrss.

HenryQW avatar HenryQW commented on May 24, 2024

见最新文档:https://ttrss.henry.wang/#update
8b08ec6
8a173f7

from awesome-ttrss.

Related Issues (20)

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.