appstore-1panel/reader/latest/docker-compose.yml
Linkjie 2ca58eca98
App/reader (#923)
* Add reader

---------

Co-authored-by: qiulinjie0327 <52249559+qiulinjie0327@users.noreply.github.com>
2024-02-23 17:15:22 +08:00

26 lines
1.2 KiB
YAML

version: '3.1'
services:
reader:
image: "${READER_IMAGE}"
container_name: ${CONTAINER_NAME}
restart: always
ports:
- "${PANEL_APP_PORT_HTTP}:8080" #4396端口映射可自行修改
networks:
- share_net
volumes:
- "${READER_LOGS_PATH}:/logs" #log映射目录 /home/reader/logs 映射目录可自行修改
- "${READER_STORAGE_PATH}:/storage" #数据映射目录 /home/reader/storage 映射目录可自行修改
environment:
- SPRING_PROFILES_ACTIVE=prod
- "READER_APP_USERLIMIT=${READER_APP_USERLIMIT}" #用户上限,默认50
- "READER_APP_USERBOOKLIMIT=${READER_APP_USERBOOKLIMIT}" #用户书籍上限,默认200
- "READER_APP_CACHECHAPTERCONTENT=${READER_APP_CACHECHAPTERCONTENT}" #开启缓存章节内容 V2.0
# 下面都是多用户模式配置
- "READER_APP_SECURE=${READER_APP_SECURE}" #开启登录鉴权,开启后将支持多用户模式
- "READER_APP_SECUREKEY=${READER_APP_SECUREKEY}" #管理员密码 建议修改
- "READER_APP_INVITECODE=${READER_APP_INVITECODE}" #注册邀请码 建议修改,如不需要可注释或删除
networks:
share_net:
driver: bridge