33 lines
732 B
YAML
33 lines
732 B
YAML
---
|
|
services:
|
|
# main service
|
|
talebook:
|
|
image: talebook/talebook
|
|
restart: unless-stopped
|
|
ports:
|
|
# Change the first number to change the port you want to access the Web UI, not the second
|
|
- 10080:80
|
|
- 10443:443
|
|
networks:
|
|
- devops
|
|
|
|
# mkdir -p ~/dockers/talebook/{config,data}
|
|
volumes:
|
|
- ~/dockers/talebook/data:/data
|
|
- ~/dockers/talebook/config:/config
|
|
environment:
|
|
- PUID=1000
|
|
- PGID=1000
|
|
- TZ=Asia/Shanghai
|
|
depends_on:
|
|
- douban-rs-api
|
|
|
|
# optional, for meta plugins
|
|
# please set "http://douban-rs-api" in settings
|
|
douban-rs-api:
|
|
restart: always
|
|
image: ghcr.io/cxfksword/douban-api-rs
|
|
|
|
networks:
|
|
devops:
|
|
external: true |