hoàn thành v 1.0.2 bản áp dụng thuật toán FSRS

This commit is contained in:
2026-04-29 09:27:46 +07:00
parent 8459801ca9
commit 7eabb9fed8
6 changed files with 86 additions and 69 deletions
+16 -16
View File
@@ -1,40 +1,40 @@
services:
docmost:
image: ghcr.io/victorphan03/docmost:v1.0.0
build: .
image: ghcr.io/victorphan03/docmost:v1.0.2
depends_on:
- db
- redis
environment:
# THAY ĐỔI: Địa chỉ IP hoặc Domain của server mới
APP_URL: 'http://your-server-ip:3000'
# THAY ĐỔI: Một chuỗi ký tự ngẫu nhiên dài để bảo mật
APP_SECRET: '32_KY_TU_NGAU_NHIEN_BAT_KY'
APP_URL: 'http://localhost:3000'
APP_SECRET: '1a635aac7d7d6afb4c84291baa94ed43a7749d390a739f9e541e210d3dd33399'
DATABASE_URL: 'postgresql://docmost:STRONG_DB_PASSWORD@db:5432/docmost'
REDIS_URL: 'redis://redis:6379'
ports:
- "3000:3000"
restart: unless-stopped
volumes:
- docmost_data:/app/data/storage
- ./data/docmost:/app/data/storage
db:
image: postgres:16-alpine
build: ./custom-images/db
image: ghcr.io/victorphan03/db:v1.0.2
environment:
POSTGRES_DB: docmost
POSTGRES_USER: docmost
POSTGRES_PASSWORD: STRONG_DB_PASSWORD
restart: unless-stopped
ports:
- "5432:5432"
volumes:
- postgres_data:/var/lib/postgresql/data
- ./data/db_data:/var/lib/postgresql
redis:
image: redis:7-alpine
command: ["redis-server", "--appendonly", "yes"]
build: ./custom-images/redis
image: ghcr.io/victorphan03/redis:v1.0.2
command: ["redis-server", "--appendonly", "yes", "--maxmemory-policy", "noeviction"]
restart: unless-stopped
ports:
- "6379:6379"
volumes:
- redis_data:/data
volumes:
docmost_data:
postgres_data:
redis_data:
- ./data/redis_data:/data