Comments (8)
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.
Do I have to set Default update interval:
to Disable Update
before I apply the crontab command?
from awesome-ttrss.
Hi @SuperNG6 , I found your article on the Internet Tiny Tiny RSS 部署流程. Did you achieve this feature updating ttrss from crontab ?
from awesome-ttrss.
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.
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.
from awesome-ttrss.
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.
见最新文档:https://ttrss.henry.wang/#update
8b08ec6
8a173f7
from awesome-ttrss.
Related Issues (20)
- [Feature]增加chatgpt功能 HOT 1
- [BUG]从原docker迁移数据库文件报错 HOT 4
- 系统-事件日志-Attempt to read property HOT 1
- 使用Mercury 全文获取,加载图片失败 HOT 2
- [BUG] feed-icons文件夹权限有问题,提示无法创建config.php文件。 HOT 3
- [BUG] HOT 1
- [Feature Request] Include theme Feedlish
- [BUG] Extra space in TTRSS_SELF_URL_PATH
- [BUG] ttrss 如何支持 2级Path 访问 HOT 1
- [BUG]部署完成之后访问不到页面
- [BUG] can't install with docker compose - failed to register layer: failed to Lchown HOT 1
- [BUG]flunter reader配置连接到服务时出错 HOT 3
- [BUG] HOT 1
- [BUG] nightly-2023-10-27 出错 HOT 2
- [BUG] 来自2023-11-1 ~2023-11-2更新版本的Error HOT 1
- [BUG] Plugin af_youtube_embed not working. HOT 1
- [BUG]nightly-2023-12-09 版本有问题 HOT 1
- Have you configured the Mercury Parser API address?
- [BUG] CPU keep 50% load
- [BUG]latest高CPU占用且无法订阅 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from awesome-ttrss.