fix: docker volume path error

This commit is contained in:
xuwei-fit2cloud
2025-09-22 16:45:15 +08:00
parent c072bd2103
commit b40eb3d549
3 changed files with 3 additions and 0 deletions

View File

@@ -31,6 +31,7 @@ docker run -d \
-p 8000:8000 \
-p 8001:8001 \
-v ./data/sqlbot/excel:/opt/sqlbot/data/excel \
-v ./data/sqlbot/file:/opt/sqlbot/data/file \
-v ./data/sqlbot/images:/opt/sqlbot/images \
-v ./data/sqlbot/logs:/opt/sqlbot/app/logs \
-v ./data/postgresql:/var/lib/postgresql/data \

View File

@@ -30,6 +30,7 @@ services:
SQL_DEBUG: False
volumes:
- ./data/sqlbot/excel:/opt/sqlbot/data/excel
- ./data/sqlbot/file:/opt/sqlbot/data/file
- ./data/sqlbot/images:/opt/sqlbot/images
- ./data/sqlbot/logs:/opt/sqlbot/app/logs
- ./data/postgresql:/var/lib/postgresql/data

View File

@@ -13,6 +13,7 @@ services:
- conf/sqlbot.conf
volumes:
- ./data/sqlbot/excel:/opt/sqlbot/data/excel
- ./data/sqlbot/file:/opt/sqlbot/data/file
- ./data/sqlbot/images:/opt/sqlbot/images
- ./data/sqlbot/logs:/opt/sqlbot/app/logs
- ./data/postgresql:/var/lib/postgresql/data