This commit is contained in:
2026-03-14 23:47:20 +08:00
25 changed files with 4 additions and 20 deletions

View File

@@ -13,3 +13,4 @@ jobs:
cd /home/ubuntu/apps/linebot_finance cd /home/ubuntu/apps/linebot_finance
git pull git pull
docker compose up -d --build docker compose up -d --build

1
.gitignore vendored Normal file → Executable file
View File

@@ -14,3 +14,4 @@ __pycache__/
# docker-compose.yml ← 改好後可以上傳,不用擋 # docker-compose.yml ← 改好後可以上傳,不用擋
# OS 檔案 # OS 檔案
postgres_data/

0
app/.python-version Normal file → Executable file
View File

0
app/DB/Models.py Normal file → Executable file
View File

0
app/DB/Session.py Normal file → Executable file
View File

0
app/Dockerfile Normal file → Executable file
View File

0
app/Invoice/Router.py Normal file → Executable file
View File

0
app/Linebot_handler/Captcha_state.py Normal file → Executable file
View File

0
app/Linebot_handler/Expense.py Normal file → Executable file
View File

0
app/Linebot_handler/Handlers.py Normal file → Executable file
View File

0
app/Linebot_handler/Router.py Normal file → Executable file
View File

0
app/README.md Normal file → Executable file
View File

0
app/Trading/Router.py Normal file → Executable file
View File

0
app/captcha_state.py Normal file → Executable file
View File

0
app/config.py Normal file → Executable file
View File

0
app/create_rich_menu.py Normal file → Executable file
View File

0
app/invoice_fetcher.py Normal file → Executable file
View File

0
app/main.py Normal file → Executable file
View File

0
app/old_main.py Normal file → Executable file
View File

0
app/pyproject.toml Normal file → Executable file
View File

0
app/requirement.txt Normal file → Executable file
View File

0
app/rich_menu.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 36 KiB

After

Width:  |  Height:  |  Size: 36 KiB

0
app/uv.lock generated Normal file → Executable file
View File

18
docker-compose.yml Normal file → Executable file
View File

@@ -1,4 +1,3 @@
version: '3.8'
services: services:
app: app:
build: ./app build: ./app
@@ -6,22 +5,5 @@ services:
- "8000:8000" - "8000:8000"
env_file: env_file:
- .env - .env
depends_on:
- db
volumes: volumes:
- ./app:/app - ./app:/app
- /app/.venv
db:
image: postgres:15
environment:
POSTGRES_USER: ${POSTGRES_USER}
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
POSTGRES_DB: ${POSTGRES_DB}
ports:
- "5432:5432"
volumes:
- pgdata:/var/lib/postgresql/data
volumes:
pgdata:

0
structure.txt Normal file → Executable file
View File