feat(storage): add delete_href method to remove files and clean up empty directories
Build and Push Reader API Image / docker (push) Successful in 26s
Build and Push Reader API Image / docker (push) Successful in 26s
chore(docker): remove MongoDB service and related configurations from local setup feat(migrations): create ChapterMeta table and add search_name, size_bytes, mtime_epoch, lastScannedAt, review_status, and review_payload columns to SourceAsset chore(dependencies): remove motor and pymongo from project dependencies
This commit is contained in:
+1
-19
@@ -23,7 +23,7 @@ services:
|
||||
retries: 5
|
||||
start_period: 20s
|
||||
|
||||
# Local mode API: binds to local Postgres/Mongo containers.
|
||||
# Local mode API: binds to local Postgres container.
|
||||
api-local:
|
||||
build:
|
||||
context: .
|
||||
@@ -35,7 +35,6 @@ services:
|
||||
- .env
|
||||
environment:
|
||||
DATABASE_URL: postgresql://reader:reader@postgres:5432/reader
|
||||
MONGODB_URI: mongodb://mongo:27017/reader
|
||||
NAS_CONTENT_ROOT: ${NAS_CONTENT_ROOT:-/data/content}
|
||||
EPUB_SOURCE_ROOT: ${EPUB_SOURCE_ROOT:-/data/epub-source}
|
||||
ports:
|
||||
@@ -53,8 +52,6 @@ services:
|
||||
depends_on:
|
||||
postgres:
|
||||
condition: service_healthy
|
||||
mongo:
|
||||
condition: service_healthy
|
||||
|
||||
web:
|
||||
build:
|
||||
@@ -97,23 +94,8 @@ services:
|
||||
timeout: 5s
|
||||
retries: 10
|
||||
|
||||
mongo:
|
||||
image: mongo:7
|
||||
container_name: reader-api-mongo
|
||||
profiles: ["localdb"]
|
||||
ports:
|
||||
- "27017:27017"
|
||||
volumes:
|
||||
- mongo_data:/data/db
|
||||
healthcheck:
|
||||
test: ["CMD", "mongosh", "--quiet", "--eval", "db.adminCommand('ping').ok"]
|
||||
interval: 10s
|
||||
timeout: 5s
|
||||
retries: 10
|
||||
|
||||
volumes:
|
||||
web_uploads:
|
||||
postgres_data:
|
||||
mongo_data:
|
||||
nas_chapter_content:
|
||||
nas_epub_source:
|
||||
|
||||
Reference in New Issue
Block a user