You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
❯ docker compose logs -f
postgres |
postgres | PostgreSQL Database directory appears to contain a database; Skipping initialization
postgres |
postgres | 2023-03-12 14:33:12.982 UTC [1] LOG: starting PostgreSQL 13.10 on x86_64-pc-linux-musl, compiled by gcc (Alpine 12.2.1_git20220924-r4) 12.2.1 20220924, 64-bit
postgres | 2023-03-12 14:33:12.983 UTC [1] LOG: listening on IPv4 address "0.0.0.0", port 5432
postgres | 2023-03-12 14:33:12.983 UTC [1] LOG: listening on IPv6 address "::", port 5432
postgres | 2023-03-12 14:33:12.985 UTC [1] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
postgres | 2023-03-12 14:33:12.989 UTC [22] LOG: database system was shut down at 2023-03-12 14:30:39 UTC
postgres | 2023-03-12 14:33:12.997 UTC [1] LOG: database system is ready to accept connections
ttrss | Operation timed out
ttrss exited with code 0
ttrss | Operation timed out
ttrss exited with code 0
ttrss | Operation timed out
ttrss exited with code 0
...
docker-compose.yml
version: "3"services:
service.rss:
image: wangqiru/ttrss:latestcontainer_name: ttrssports:
- 10000:80environment:
- SELF_URL_PATH=http://localhost:10000/ # please change to your own domain
- DB_PASS=rss30312 # use the same password defined in `database.postgres`
- PUID=1000
- PGID=1000volumes:
- feed-icons:/var/www/feed-icons/networks:
- public_access
- service_only
- database_onlystdin_open: truetty: truerestart: 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: alwaysdatabase.postgres:
image: postgres:13-alpinecontainer_name: postgresenvironment:
- POSTGRES_PASSWORD=rss30312 # feel free to change the passwordvolumes:
- ~/postgres/data/:/var/lib/postgresql/data # persist postgres data to ~/postgres/data/ on the hostnetworks:
- database_onlyrestart: always# utility.watchtower:# container_name: watchtower# image: containrrr/watchtower:latest# volumes:# - /var/run/docker.sock:/var/run/docker.sock# environment:# - WATCHTOWER_CLEANUP=true# - WATCHTOWER_POLL_INTERVAL=86400# restart: alwaysvolumes:
feed-icons:
networks:
public_access: # Provide the access for ttrss UIservice_only: # Provide the communication network between services onlyinternal: truedatabase_only: # Provide the communication between ttrss and database onlyinternal: true
总之docker确实用不太熟,postgres日志也看不太懂。
端口防火墙应该是开了的,docker外面 nc -l 可以监听到请求。
The text was updated successfully, but these errors were encountered:
Bug 描述
HTTP ERROR 503, ttrss 日志 timeout
你谷歌/百度了吗?
我看了一些 issue
部署方法
docker-compose
日志
docker-compose.yml
总之docker确实用不太熟,postgres日志也看不太懂。
端口防火墙应该是开了的,docker外面
nc -l
可以监听到请求。The text was updated successfully, but these errors were encountered: