This commit is contained in:
anonymous 2024-02-17 23:25:31 +08:00
parent 5736990f84
commit f9f5497805
14 changed files with 107 additions and 163 deletions

View File

@ -14,11 +14,11 @@
阿里云镜像启动(适合中国大陆) 阿里云镜像启动(适合中国大陆)
```sh ```sh
docker run --name moneywhere -e DB_PASSWORD=78p7gkc1 -e invite_code=111111 -v moneywhere_mysql_data:/var/lib/mysql -p 43740:3306 -p 43741:80 -p 43742:9092 -p 43743:81 -p 43744:82 registry.cn-hangzhou.aliyuncs.com/moneywhere/moneywhere-all:latest docker run --name moneynote -e DB_PASSWORD=78p7gkc1 -e invite_code=111111 -v moneynote_mysql_data:/var/lib/mysql -p 43740:3306 -p 43741:80 -p 43742:9092 -p 43743:81 -p 43744:82 registry.cn-hangzhou.aliyuncs.com/moneynote/moneynote-all:latest
``` ```
docker hub镜像启动适合境外用户 docker hub镜像启动适合境外用户
```sh ```sh
docker run --name moneywhere -e DB_PASSWORD=78p7gkc1 -e invite_code=111111 -v moneywhere_mysql_data:/var/lib/mysql -p 43740:3306 -p 43741:80 -p 43742:9092 -p 43743:81 -p 43744:82 markliu2018/moneywhere-all:latest docker run --name moneynote -e DB_PASSWORD=78p7gkc1 -e invite_code=111111 -v moneynote_mysql_data:/var/lib/mysql -p 43740:3306 -p 43741:80 -p 43742:9092 -p 43743:81 -p 43744:82 markliu2018/moneynote-all:latest
``` ```
如果已有mysql服务可使用不带mysql的镜像启动。 如果已有mysql服务可使用不带mysql的镜像启动。
@ -26,32 +26,32 @@ docker run --name moneywhere -e DB_PASSWORD=78p7gkc1 -e invite_code=111111 -v mo
阿里云镜像启动适合中国大陆此镜像无mysql服务请将参数修改为自己的mysql服务。 阿里云镜像启动适合中国大陆此镜像无mysql服务请将参数修改为自己的mysql服务。
```sh ```sh
docker run --name moneywhere -d \ docker run --name moneynote -d \
-e DB_HOST=your_ip \ -e DB_HOST=your_ip \
-e DB_PORT=3306 \ -e DB_PORT=3306 \
-e DB_NAME=moneywhere \ -e DB_NAME=moneynote \
-e DB_USER=root \ -e DB_USER=root \
-e DB_PASSWORD=your_password \ -e DB_PASSWORD=your_password \
-e invite_code=111111 \ -e invite_code=111111 \
-p 43742:9092 \ -p 43742:9092 \
-p 43743:81 \ -p 43743:81 \
-p 43744:82 \ -p 43744:82 \
registry.cn-hangzhou.aliyuncs.com/moneywhere/moneywhere-all-no-mysql:latest registry.cn-hangzhou.aliyuncs.com/moneynote/moneynote-all-no-mysql:latest
``` ```
docker hub镜像启动适合境外用户此镜像无mysql服务请将参数修改为自己的mysql服务。 docker hub镜像启动适合境外用户此镜像无mysql服务请将参数修改为自己的mysql服务。
```sh ```sh
docker run --name moneywhere -d \ docker run --name moneynote -d \
-e DB_HOST=your_ip \ -e DB_HOST=your_ip \
-e DB_PORT=3306 \ -e DB_PORT=3306 \
-e DB_NAME=moneywhere \ -e DB_NAME=moneynote \
-e DB_USER=root \ -e DB_USER=root \
-e DB_PASSWORD=your_password \ -e DB_PASSWORD=your_password \
-e invite_code=111111 \ -e invite_code=111111 \
-p 43742:9092 \ -p 43742:9092 \
-p 43743:81 \ -p 43743:81 \
-p 43744:82 \ -p 43744:82 \
markliu2018/moneywhere-all-no-mysql:latest markliu2018/moneynote-all-no-mysql:latest
``` ```
### docker compose 启动(推荐) ### docker compose 启动(推荐)
@ -59,7 +59,7 @@ docker run --name moneywhere -d \
1. 请下载本项目源代码使用git命令或直接下载源代码。 1. 请下载本项目源代码使用git命令或直接下载源代码。
```sh ```sh
git clone https://github.com/getmoneynote/docker-compose-moneywhere.git && cd docker-compose-moneywhere git clone https://github.com/getmoneynote/docker-compose-moneynote.git && cd docker-compose-moneynote
``` ```
2. docker compose 启动 2. docker compose 启动
@ -180,7 +180,7 @@ docker compose -f docker-compose-all-no-mysql-ali.yml pull && docker compose --e
## QA ## QA
1. 很多人安装遇到数据库的问题有可能是之前安装过有数据文件且自己修改过root密码。 使用 docker volume ls 命令查看有没有moneywhere_mysql_data文件如果有可以自己修改为另外的数据文件或者删除moneywhere_mysql_data 1. 很多人安装遇到数据库的问题有可能是之前安装过有数据文件且自己修改过root密码。 使用 docker volume ls 命令查看有没有moneynote_mysql_data文件如果有可以自己修改为另外的数据文件或者删除moneynote_mysql_data
## 参考资料 ## 参考资料
[安装docker](https://www.digitalocean.com/community/tutorials/how-to-install-and-use-docker-on-centos-7) [安装docker](https://www.digitalocean.com/community/tutorials/how-to-install-and-use-docker-on-centos-7)

View File

@ -9,5 +9,5 @@ Docker一键运行自己的记账系统
快速运行: 快速运行:
```sh ```sh
docker run -p 43741:80 -p 43743:81 -p 43743:82 -e invite_code=111111 markliu2018/moneywhere-all:latest docker run -p 43741:80 -p 43743:81 -p 43743:82 -e invite_code=111111 markliu2018/moneynote-all:latest
``` ```

View File

@ -1,6 +1,6 @@
DB_HOST=host.docker.internal DB_HOST=host.docker.internal
DB_PORT=3306 DB_PORT=3306
DB_NAME=moneywhere DB_NAME=moneynote
DB_USER=root DB_USER=root
DB_PASSWORD=78p7gkc1 DB_PASSWORD=78p7gkc1
invite_code=111111 invite_code=111111

View File

@ -1,40 +1,40 @@
version: '3' version: '3'
services: services:
moneywhere-api-user: api:
container_name: moneywhere_api container_name: moneynote_api
image: registry.cn-hangzhou.aliyuncs.com/moneywhere/moneywhere-api-user:latest image: registry.cn-hangzhou.aliyuncs.com/moneynote/moneynote-api:latest
restart: always restart: always
extra_hosts: extra_hosts:
- "host.docker.internal:host-gateway" - "host.docker.internal:host-gateway"
environment: environment:
- DB_HOST=${DB_HOST:-host.docker.internal} - DB_HOST=${DB_HOST:-host.docker.internal}
- DB_PORT=${DB_PORT:-3306} - DB_PORT=${DB_PORT:-3306}
- DB_NAME=${DB_NAME:-moneywhere} - DB_NAME=${DB_NAME:-moneynote}
- DB_USER=${DB_USER:-root} - DB_USER=${DB_USER:-root}
- DB_PASSWORD=${DB_PASSWORD:-78p7gkc1} - DB_PASSWORD=${DB_PASSWORD:-78p7gkc1}
- invite_code=${invite_code:-111111} - invite_code=${invite_code:-111111}
ports: ports:
- "43742:9092" - "43742:9092"
moneywhere-fe-user: pc:
container_name: moneywhere_fe container_name: moneynote_pc
links: links:
- moneywhere-api-user - api
image: registry.cn-hangzhou.aliyuncs.com/moneywhere/moneywhere-fe-user:latest image: registry.cn-hangzhou.aliyuncs.com/moneynote/moneynote-pc:latest
restart: always restart: always
environment: environment:
USER_API_HOST: http://moneywhere-api-user:9092 USER_API_HOST: http://api:9092
ports: ports:
- "43743:80" - "43743:80"
moneywhere-fe-user-mobile: h5:
container_name: moneywhere_fe_mobile container_name: moneynote_h5
links: links:
- moneywhere-api-user - api
image: registry.cn-hangzhou.aliyuncs.com/moneywhere/moneywhere-fe-user-mobile:latest image: registry.cn-hangzhou.aliyuncs.com/moneynote/moneynote-h5:latest
restart: always restart: always
environment: environment:
USER_API_HOST: http://moneywhere-api-user:9092 USER_API_HOST: http://api:9092
ports: ports:
- "43744:80" - "43744:80"

View File

@ -2,24 +2,24 @@ version: '3'
services: services:
mysql: mysql:
container_name: moneywhere_mysql container_name: moneynote_mysql
image: registry.cn-hangzhou.aliyuncs.com/moneywhere/mysql5-arm:latest image: registry.cn-hangzhou.aliyuncs.com/moneynote/mysql5-arm:latest
restart: always restart: always
environment: environment:
- MYSQL_ROOT_PASSWORD=${DB_PASSWORD:-78p7gkc1} - MYSQL_ROOT_PASSWORD=${DB_PASSWORD:-78p7gkc1}
- MYSQL_DATABASE=moneywhere - MYSQL_DATABASE=moneynote
command: [ command: [
'--character-set-server=utf8mb4', '--character-set-server=utf8mb4',
'--collation-server=utf8mb4_general_ci', '--collation-server=utf8mb4_general_ci',
] ]
volumes: volumes:
- moneywhere_mysql_data:/var/lib/mysql - moneynote_mysql_data:/var/lib/mysql
ports: ports:
- "43740:3306" - "43740:3306"
phpmyadmin: phpmyadmin:
container_name: moneywhere_phpmyadmin container_name: moneynote_phpmyadmin
image: registry.cn-hangzhou.aliyuncs.com/moneywhere/phpmyadmin5:latest image: registry.cn-hangzhou.aliyuncs.com/moneynote/phpmyadmin5:latest
links: links:
- mysql - mysql
environment: environment:
@ -28,43 +28,43 @@ services:
ports: ports:
- "43741:80" - "43741:80"
moneywhere-api-user: api:
container_name: moneywhere_api container_name: moneynote_api
links: links:
- mysql - mysql
image: registry.cn-hangzhou.aliyuncs.com/moneywhere/moneywhere-api-user:latest image: registry.cn-hangzhou.aliyuncs.com/moneynote/moneynote-api:latest
restart: always restart: always
environment: environment:
- DB_HOST=mysql - DB_HOST=mysql
- DB_PORT=3306 - DB_PORT=3306
- DB_NAME=moneywhere - DB_NAME=moneynote
- DB_USER=root - DB_USER=root
- DB_PASSWORD=${DB_PASSWORD:-78p7gkc1} - DB_PASSWORD=${DB_PASSWORD:-78p7gkc1}
- invite_code=${invite_code:-111111} - invite_code=${invite_code:-111111}
ports: ports:
- "43742:9092" - "43742:9092"
moneywhere-fe-user: pc:
container_name: moneywhere_fe container_name: moneynote_pc
links: links:
- moneywhere-api-user - api
image: registry.cn-hangzhou.aliyuncs.com/moneywhere/moneywhere-fe-user:latest image: registry.cn-hangzhou.aliyuncs.com/moneynote/moneynote-pc:latest
restart: always restart: always
environment: environment:
USER_API_HOST: http://moneywhere-api-user:9092 USER_API_HOST: http://api:9092
ports: ports:
- "43743:80" - "43743:80"
moneywhere-fe-user-mobile: h5:
container_name: moneywhere_fe_mobile container_name: moneynote_h5
links: links:
- moneywhere-api-user - api
image: registry.cn-hangzhou.aliyuncs.com/moneywhere/moneywhere-fe-user-mobile:latest image: registry.cn-hangzhou.aliyuncs.com/moneynote/moneynote-h5:latest
restart: always restart: always
environment: environment:
USER_API_HOST: http://moneywhere-api-user:9092 USER_API_HOST: http://api:9092
ports: ports:
- "43744:80" - "43744:80"
volumes: volumes:
moneywhere_mysql_data: moneynote_mysql_data:

View File

@ -1,15 +1,15 @@
version: '3' version: '3'
services: services:
moneywhere: moneynote:
container_name: moneywhere container_name: moneynote
image: registry.cn-hangzhou.aliyuncs.com/moneywhere/moneywhere-all:latest image: registry.cn-hangzhou.aliyuncs.com/moneynote/moneynote-all:latest
restart: always restart: always
environment: environment:
- DB_PASSWORD=${DB_PASSWORD:-78p7gkc1} - DB_PASSWORD=${DB_PASSWORD:-78p7gkc1}
- invite_code=${invite_code:-111111} - invite_code=${invite_code:-111111}
volumes: volumes:
- moneywhere_mysql_data:/var/lib/mysql - moneynote_mysql_data:/var/lib/mysql
ports: ports:
- "43740:3306" - "43740:3306"
- "43741:80" - "43741:80"
@ -18,4 +18,4 @@ services:
- "43744:82" - "43744:82"
volumes: volumes:
moneywhere_mysql_data: moneynote_mysql_data:

View File

@ -1,15 +1,15 @@
version: '3' version: '3'
services: services:
moneywhere: moneynote:
container_name: moneywhere container_name: moneynote
image: markliu2018/moneywhere-all:latest image: markliu2018/moneynote-all:latest
restart: always restart: always
environment: environment:
- DB_PASSWORD=${DB_PASSWORD:-78p7gkc1} - DB_PASSWORD=${DB_PASSWORD:-78p7gkc1}
- invite_code=${invite_code:-111111} - invite_code=${invite_code:-111111}
volumes: volumes:
- moneywhere_mysql_data:/var/lib/mysql - moneynote_mysql_data:/var/lib/mysql
ports: ports:
- "43740:3306" - "43740:3306"
- "43741:80" - "43741:80"
@ -18,4 +18,4 @@ services:
- "43744:82" - "43744:82"
volumes: volumes:
moneywhere_mysql_data: moneynote_mysql_data:

View File

@ -1,16 +1,16 @@
version: '3' version: '3'
services: services:
moneywhere: moneynote:
container_name: moneywhere container_name: moneynote
image: registry.cn-hangzhou.aliyuncs.com/moneywhere/moneywhere-all-no-mysql:latest image: registry.cn-hangzhou.aliyuncs.com/moneynote/moneynote-all-no-mysql:latest
restart: always restart: always
extra_hosts: extra_hosts:
- "host.docker.internal:host-gateway" - "host.docker.internal:host-gateway"
environment: environment:
- DB_HOST=${DB_HOST:-host.docker.internal} - DB_HOST=${DB_HOST:-host.docker.internal}
- DB_PORT=${DB_PORT:-3306} - DB_PORT=${DB_PORT:-3306}
- DB_NAME=${DB_NAME:-moneywhere} - DB_NAME=${DB_NAME:-moneynote}
- DB_USER=${DB_USER:-root} - DB_USER=${DB_USER:-root}
- DB_PASSWORD=${DB_PASSWORD:-78p7gkc1} - DB_PASSWORD=${DB_PASSWORD:-78p7gkc1}
- invite_code=${invite_code:-111111} - invite_code=${invite_code:-111111}

View File

@ -1,16 +1,16 @@
version: '3' version: '3'
services: services:
moneywhere: moneynote:
container_name: moneywhere container_name: moneynote
image: markliu2018/moneywhere-all-no-mysql:latest image: markliu2018/moneynote-all-no-mysql:latest
restart: always restart: always
extra_hosts: extra_hosts:
- "host.docker.internal:host-gateway" - "host.docker.internal:host-gateway"
environment: environment:
- DB_HOST=${DB_HOST:-host.docker.internal} - DB_HOST=${DB_HOST:-host.docker.internal}
- DB_PORT=${DB_PORT:-3306} - DB_PORT=${DB_PORT:-3306}
- DB_NAME=${DB_NAME:-moneywhere} - DB_NAME=${DB_NAME:-moneynote}
- DB_USER=${DB_USER:-root} - DB_USER=${DB_USER:-root}
- DB_PASSWORD=${DB_PASSWORD:-78p7gkc1} - DB_PASSWORD=${DB_PASSWORD:-78p7gkc1}
- invite_code=${invite_code:-111111} - invite_code=${invite_code:-111111}

View File

@ -1,40 +1,40 @@
version: '2.1' version: '2.1'
services: services:
moneywhere-api-user: api:
container_name: moneywhere_api container_name: moneynote_api
image: markliu2018/moneywhere-api-user:latest image: markliu2018/moneynote-api:latest
restart: always restart: always
extra_hosts: extra_hosts:
- "host.docker.internal:host-gateway" - "host.docker.internal:host-gateway"
environment: environment:
- DB_HOST=${DB_HOST:-host.docker.internal} - DB_HOST=${DB_HOST:-host.docker.internal}
- DB_PORT=${DB_PORT:-3306} - DB_PORT=${DB_PORT:-3306}
- DB_NAME=${DB_NAME:-moneywhere} - DB_NAME=${DB_NAME:-moneynote}
- DB_USER=${DB_USER:-root} - DB_USER=${DB_USER:-root}
- DB_PASSWORD=${DB_PASSWORD:-78p7gkc1} - DB_PASSWORD=${DB_PASSWORD:-78p7gkc1}
- invite_code=${invite_code:-111111} - invite_code=${invite_code:-111111}
ports: ports:
- "43742:9092" - "43742:9092"
moneywhere-fe-user: pc:
container_name: moneywhere_fe container_name: moneynote_pc
links: links:
- moneywhere-api-user - api
image: markliu2018/moneywhere-fe-user:latest image: markliu2018/moneynote-pc:latest
restart: always restart: always
environment: environment:
USER_API_HOST: http://moneywhere-api-user:9092 USER_API_HOST: http://api:9092
ports: ports:
- "43743:80" - "43743:80"
moneywhere-fe-user-mobile: h5:
container_name: moneywhere_fe_mobile container_name: moneynote_h5
links: links:
- moneywhere-api-user - api
image: markliu2018/moneywhere-fe-user-mobile:latest image: markliu2018/moneynote-h5:latest
restart: always restart: always
environment: environment:
USER_API_HOST: http://moneywhere-api-user:9092 USER_API_HOST: http://api:9092
ports: ports:
- "43744:80" - "43744:80"

View File

@ -2,23 +2,23 @@ version: '3'
services: services:
mysql: mysql:
container_name: moneywhere_mysql container_name: moneynote_mysql
image: markliu2018/mysql5-arm:latest image: markliu2018/mysql5-arm:latest
restart: always restart: always
environment: environment:
- MYSQL_ROOT_PASSWORD= ${DB_PASSWORD:-78p7gkc1} - MYSQL_ROOT_PASSWORD= ${DB_PASSWORD:-78p7gkc1}
- MYSQL_DATABASE= moneywhere - MYSQL_DATABASE= moneynote
command: [ command: [
'--character-set-server=utf8mb4', '--character-set-server=utf8mb4',
'--collation-server=utf8mb4_general_ci', '--collation-server=utf8mb4_general_ci',
] ]
volumes: volumes:
- moneywhere_mysql_data:/var/lib/mysql - moneynote_mysql_data:/var/lib/mysql
ports: ports:
- "43740:3306" - "43740:3306"
phpmyadmin: phpmyadmin:
container_name: moneywhere_phpmyadmin container_name: moneynote_phpmyadmin
image: markliu2018/phpmyadmin5:latest image: markliu2018/phpmyadmin5:latest
restart: always restart: always
links: links:
@ -28,43 +28,43 @@ services:
ports: ports:
- "43741:80" - "43741:80"
moneywhere-api-user: api:
container_name: moneywhere_api container_name: moneynote_api
links: links:
- mysql - mysql
image: markliu2018/moneywhere-api-user:latest image: markliu2018/moneynote-api:latest
restart: always restart: always
environment: environment:
- DB_HOST=mysql - DB_HOST=mysql
- DB_PORT=3306 - DB_PORT=3306
- DB_NAME=moneywhere - DB_NAME=moneynote
- DB_USER=root - DB_USER=root
- DB_PASSWORD=${DB_PASSWORD:-78p7gkc1} - DB_PASSWORD=${DB_PASSWORD:-78p7gkc1}
- invite_code=${invite_code:-111111} - invite_code=${invite_code:-111111}
ports: ports:
- "43742:9092" - "43742:9092"
moneywhere-fe-user: pc:
container_name: moneywhere_fe container_name: moneynote_pc
links: links:
- moneywhere-api-user - api
image: markliu2018/moneywhere-fe-user:latest image: markliu2018/moneynote-pc:latest
restart: always restart: always
environment: environment:
USER_API_HOST: http://moneywhere-api-user:9092 USER_API_HOST: http://api:9092
ports: ports:
- "43743:80" - "43743:80"
moneywhere-fe-user-mobile: h5:
container_name: moneywhere_fe_mobile container_name: moneynote_h5
links: links:
- moneywhere-api-user - api
image: markliu2018/moneywhere-fe-user-mobile:latest image: markliu2018/moneynote-h5:latest
restart: always restart: always
environment: environment:
USER_API_HOST: http://moneywhere-api-user:9092 USER_API_HOST: http://api:9092
ports: ports:
- "43744:80" - "43744:80"
volumes: volumes:
moneywhere_mysql_data: moneynote_mysql_data:

View File

@ -1,16 +1,16 @@
version: '3' version: '3'
services: services:
moneywhere: moneynote:
container_name: moneywhere container_name: moneynote
image: markliu2018/moneywhere-all-no-mysql:latest image: markliu2018/moneynote-all-no-mysql:latest
restart: always restart: always
extra_hosts: extra_hosts:
- "host.docker.internal:host-gateway" - "host.docker.internal:host-gateway"
environment: environment:
- DB_HOST=${DB_HOST:-host.docker.internal} - DB_HOST=${DB_HOST:-host.docker.internal}
- DB_PORT=${DB_PORT:-3306} - DB_PORT=${DB_PORT:-3306}
- DB_NAME=${DB_NAME:-moneywhere} - DB_NAME=${DB_NAME:-moneynote}
- DB_USER=${DB_USER:-root} - DB_USER=${DB_USER:-root}
- DB_PASSWORD=${DB_PASSWORD:-78p7gkc1} - DB_PASSWORD=${DB_PASSWORD:-78p7gkc1}
- invite_code=${invite_code:-111111} - invite_code=${invite_code:-111111}

View File

@ -1,15 +1,15 @@
version: '3' version: '3'
services: services:
moneywhere: moneynote:
container_name: moneywhere container_name: moneynote
image: markliu2018/moneywhere-all:latest image: markliu2018/moneynote-all:latest
restart: always restart: always
environment: environment:
- DB_PASSWORD=${DB_PASSWORD:-78p7gkc1} - DB_PASSWORD=${DB_PASSWORD:-78p7gkc1}
- invite_code=${invite_code:-111111} - invite_code=${invite_code:-111111}
volumes: volumes:
- moneywhere_mysql_data:/var/lib/mysql - moneynote_mysql_data:/var/lib/mysql
ports: ports:
- "43740:3306" - "43740:3306"
- "43741:80" - "43741:80"
@ -18,4 +18,4 @@ services:
- "43744:82" - "43744:82"
volumes: volumes:
moneywhere_mysql_data: moneynote_mysql_data:

View File

@ -1,56 +0,0 @@
version: '2.1'
services:
mysql:
build: ./mysql/
command: --init-file /data/1.sql
restart: always
environment:
MYSQL_ROOT_PASSWORD: NWPkVrO2
MYSQL_DATABASE: moneywhere
volumes:
- moneywhere_mysql_data:/var/lib/mysql
healthcheck:
test: ["CMD-SHELL", "mysqladmin ping -h localhost -uroot -pNWPkVrO2 | grep 'mysqld is alive' || exit 1"]
timeout: 20s
retries: 10
phpmyadmin:
image: registry.cn-hangzhou.aliyuncs.com/moneywhere/phpmyadmin:latest
links:
- mysql
environment:
PMA_HOST: mysql
PMA_PORT: 3306
PMA_ARBITRARY: 1
restart: always
ports:
- "8085:80"
moneywhere-api-user:
depends_on:
mysql:
condition: service_healthy
image: registry.cn-hangzhou.aliyuncs.com/moneywhere/moneywhere-api-user:latest
env_file: api.env
moneywhere-fe-user:
links:
- moneywhere-api-user
image: registry.cn-hangzhou.aliyuncs.com/moneywhere/moneywhere-fe-user:latest
environment:
USER_API_HOST: http://moneywhere-api-user:9092
ports:
- "9097:80"
moneywhere-fe-user-mobile:
links:
- moneywhere-api-user
image: registry.cn-hangzhou.aliyuncs.com/moneywhere/moneywhere-fe-user-mobile:latest
environment:
USER_API_HOST: http://moneywhere-api-user:9092
ports:
- "9098:80"
volumes:
moneywhere_mysql_data: