669addf799
Build and Push Reader Image / docker (push) Failing after 22s
- Introduced a new batch import client for handling multiple EPUB files simultaneously. - Updated API routes for previewing and importing EPUB files, improving error handling and response management. - Enhanced genre management during import, allowing for dynamic creation and association of genres. - Implemented long-fetch handling to accommodate lengthy processing times for large EPUB files. - Refined UI components for better user experience in the import workflow.
24 lines
872 B
YAML
24 lines
872 B
YAML
version: '3.8'
|
|
|
|
services:
|
|
web:
|
|
build:
|
|
context: .
|
|
dockerfile: Dockerfile
|
|
image: fevirtus/reader:v0.0.1
|
|
container_name: reader-web
|
|
ports:
|
|
- "3003:3000"
|
|
environment:
|
|
# KHÔNG SỬ DỤNG DẤU NGOẶC KÉP "" TRONG DOCKER COMPOSE
|
|
- DATABASE_URL=postgresql://reader:reader%40123@master-02:5432/reader?schema=public
|
|
- NEXTAUTH_SECRET=your-super-secret-key
|
|
# Sửa thành domain name thực tế bạn đang truy cập
|
|
- NEXTAUTH_URL=http://master-02:3003
|
|
- NEXT_PUBLIC_GOOGLE_CLIENT_ID=752734667309-khhufui27coorhmk8gh15epbpbeerg25.apps.googleusercontent.com
|
|
- GOOGLE_CLIENT_ID=752734667309-khhufui27coorhmk8gh15epbpbeerg25.apps.googleusercontent.com
|
|
- GOOGLE_CLIENT_SECRET=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
|
|
volumes:
|
|
- ./uploads:/app/public/uploads
|
|
restart: unless-stopped
|