version: "3"
services:
service.rss:
# image: wangqiru/ttrss:latest
image: wangqiru/ttrss:nightly-2023-11-02
container_name: ttrss
ports:
- 80:80
environment:
# - SELF_URL_PATH=https://rssrn2.hwb0307.com/ # please change to your own domain
# - DB_PASS=password # use the same password defined in `database.postgres`
SELF_URL_PATH: https://rssrn2.hwb0307.com/ # please change to your own domain
DB_PASS: 'password' # use the same password defined in `database.postgres`
volumes:
# - ./feed-icons:/var/www/feed-icons/
- ./www:/var/www
networks:
- public_access
- service_only
- database_only
stdin_open: true
tty: true
restart: always
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
networks:
- public_access
- service_only
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
networks:
- service_only
restart: always
database.postgres:
image: postgres:13-alpine
container_name: postgres
environment:
# - POSTGRES_PASSWORD=password # feel free to change the password
POSTGRES_PASSWORD: 'password'
volumes:
- ./db/:/var/lib/postgresql/data # persist postgres data to ~/postgres/data/ on the host
networks:
- database_only
restart: always
networks:
public_access: # Provide the access for ttrss UI
service_only: # Provide the communication network between services only
internal: true
database_only: # Provide the communication between ttrss and database only
internal: true
error: pathspec '/var/www/classes/UrlHelper.php' did not match any file(s) known to git
error: pathspec '/var/www/classes/UrlHelper.php' did not match any file(s) known to git
error: pathspec '/var/www/classes/UrlHelper.php' did not match any file(s) known to git
error: pathspec '/var/www/classes/UrlHelper.php' did not match any file(s) known to git
error: pathspec '/var/www/classes/UrlHelper.php' did not match any file(s) known to git
error: pathspec '/var/www/classes/UrlHelper.php' did not match any file(s) known to git
error: pathspec '/var/www/classes/UrlHelper.php' did not match any file(s) known to git
error: pathspec '/var/www/classes/UrlHelper.php' did not match any file(s) known to git
error: pathspec '/var/www/classes/UrlHelper.php' did not match any file(s) known to git
error: pathspec '/var/www/classes/UrlHelper.php' did not match any file(s) known to git
error: pathspec '/var/www/classes/UrlHelper.php' did not match any file(s) known to git
error: pathspec '/var/www/classes/UrlHelper.php' did not match any file(s) known to git
error: pathspec '/var/www/classes/UrlHelper.php' did not match any file(s) known to git
error: pathspec '/var/www/classes/UrlHelper.php' did not match any file(s) known to git
error: pathspec '/var/www/classes/UrlHelper.php' did not match any file(s) known to git
error: pathspec '/var/www/classes/UrlHelper.php' did not match any file(s) known to git
Bug 描述 docker版TTRSS无法使用。 报错日志: error: pathspec '/var/www/classes/UrlHelper.php' did not match any file(s) known to git
你谷歌/百度了吗? 未有有价值的发现。
部署方法
部署环境
复现步骤 我通过watchtower订阅该镜像的更新。在此之前的latest版本可以正常工作,这提示最新版本与旧版本的代码和文件系统不兼容。我的旧布署代码如下,其中
./www
是通过docker cp挂载在物理盘上:预期结果 可以正常运行
截屏
错误日志 当错误发生时,通过终端执行
docker logs ttrss --tail 100
获取日志,并将相关错误日志粘贴于此处。其他 暂时其它有助于 bug 修复的信息。