Installation Guide
This document will guide how to install.
Required Access Key (AWS)
- Access key: Contact us (opens in a new tab)
- Access secret: Contact us (opens in a new tab)
- Region: Contact us (opens in a new tab)
Required Software
Installation
Windows
cd ./windows
install-aws-cli.bat
// restart Command Line/PowerShell/Bash etc.
install.shLinux (Ubuntu)
cd ./linux
sh installer.shImage Environments
Database (Postgres)
- POSTGRES_PASSWORD=รหัสผ่านสำหรับเชื่อต่อฐานข้อมูล (default: postgres)
- POSTGRES_DB=fill-in-matching-db (ควรใช้ชื่อเดิมตาม Volume ที่ส่งให้)
API (Fill in Searching API)
- MEILI_SEARCH_API_KEY=Master Key ของ Meili Search ควรเหมือนกับ MEILI_MASTER_KEY
- WHITE_LIST=https://localhost:4000 (opens in a new tab) ไม่มีผลหาก DISABLED_CORS = true
- JWT_SECRET= Secret สำหรับ JWT ไม่มีผลหาก DISABLED_AUTH=true
- DISABLE_CORS=ปิดการทำงานของ CORS (true/false)
- DISABLE_AUTH=ปิดการทำงานของระบบ Authentication ใช้สำหรับ On-Premise หรือไม่ต้องการที่จะใช้ Token ในการ Access API (true/false)
Meili Search Engine
- MEILI_ENV=production ใช้สำหรับตั้งค่า ENV
- MEILI_HTTP_PAYLOAD_SIZE_LIMIT=1gb จำกัดขนาด Payload ที่ส่งเข้า Search Engine
- MEILI_MASTER_KEY= Master key สำหรับเชือมต่อเข้า Search Engine ควรมีขนาด 16 Bytes สำหรับ ENV Production
- More Variable (opens in a new tab)
Upgrade New Version
If we have new release you able to upgrade from download new volume and api image.