mirror of
https://git.victorphan.net/basketballcantho/Teedy_custom.git
synced 2026-08-05 05:53:12 +07:00
update docker build và docker compose
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
version: '3'
|
||||
services:
|
||||
teedy:
|
||||
image: ghcr.io/victorphan03/teedy-custom:v1.0.0
|
||||
container_name: teedy-custom
|
||||
restart: always
|
||||
ports:
|
||||
- "8080:8080"
|
||||
environment:
|
||||
# URL cơ sở của bạn (ví dụ: http://localhost:8080)
|
||||
- DOCS_BASE_URL=http://localhost:8080
|
||||
# Tùy chỉnh bộ nhớ Java nếu cần
|
||||
- JAVA_OPTIONS=-Dfile.encoding=UTF-8 -Xmx1g
|
||||
volumes:
|
||||
# Lưu trữ cơ sở dữ liệu và các file PDF tại đây
|
||||
- ./teedy-data:/data
|
||||
|
||||
# Hướng dẫn chạy:
|
||||
# 1. Thay YOUR_GITHUB_USERNAME bằng tên GitHub của bạn.
|
||||
# 2. Chạy lệnh: docker-compose -f docker-compose-ghcr.yml up -d
|
||||
Reference in New Issue
Block a user