mirror of
https://github.com/QYG2297248353/appstore-1panel.git
synced 2024-11-14 23:22:09 +08:00
2ca58eca98
* Add reader --------- Co-authored-by: qiulinjie0327 <52249559+qiulinjie0327@users.noreply.github.com>
26 lines
1.2 KiB
YAML
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
|