60 lines
1.5 KiB
YAML
60 lines
1.5 KiB
YAML
version: "3"
|
|
services:
|
|
service.rss:
|
|
image: wangqiru/ttrss:latest
|
|
container_name: ttrss
|
|
ports:
|
|
- 10002:80
|
|
environment:
|
|
- SELF_URL_PATH=https://rss.cggo.xyz/ # please change to your own domain
|
|
- DB_PASS=password # use the same password defined in `database.postgres`
|
|
- PUID=1000
|
|
- PGID=1000
|
|
volumes:
|
|
- ./data/rss/feed-icons:/var/www/feed-icons/
|
|
stdin_open: true
|
|
tty: true
|
|
restart: unless-stopped
|
|
networks:
|
|
- nginx
|
|
|
|
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
|
|
restart: unless-stopped
|
|
networks:
|
|
- nginx
|
|
|
|
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
|
|
restart: unless-stopped
|
|
networks:
|
|
- nginx
|
|
|
|
database.postgres:
|
|
image: postgres:13-alpine
|
|
container_name: postgres
|
|
environment:
|
|
- POSTGRES_PASSWORD=password
|
|
volumes:
|
|
- ./data/postgres/data/:/var/lib/postgresql/data
|
|
restart: unless-stopped
|
|
networks:
|
|
- nginx
|
|
|
|
# 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: always
|
|
|
|
networks:
|
|
nginx:
|
|
external: true |