mirror of
https://github.com/henry4682/linebot_finance.git
synced 2026-05-16 04:41:52 +00:00
Merge branch 'main' of https://github.com/henry4682/linebot_finance
This commit is contained in:
@@ -12,4 +12,5 @@ jobs:
|
|||||||
git config --global --add safe.directory /home/ubuntu/apps/linebot_finance
|
git config --global --add safe.directory /home/ubuntu/apps/linebot_finance
|
||||||
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
1
.gitignore
vendored
Normal file → Executable file
@@ -14,3 +14,4 @@ __pycache__/
|
|||||||
# docker-compose.yml ← 改好後可以上傳,不用擋
|
# docker-compose.yml ← 改好後可以上傳,不用擋
|
||||||
|
|
||||||
# OS 檔案
|
# OS 檔案
|
||||||
|
postgres_data/
|
||||||
|
|||||||
0
app/.python-version
Normal file → Executable file
0
app/.python-version
Normal file → Executable file
0
app/DB/Models.py
Normal file → Executable file
0
app/DB/Models.py
Normal file → Executable file
0
app/DB/Session.py
Normal file → Executable file
0
app/DB/Session.py
Normal file → Executable file
0
app/Dockerfile
Normal file → Executable file
0
app/Dockerfile
Normal file → Executable file
0
app/Invoice/Router.py
Normal file → Executable file
0
app/Invoice/Router.py
Normal file → Executable file
0
app/Linebot_handler/Captcha_state.py
Normal file → Executable file
0
app/Linebot_handler/Captcha_state.py
Normal file → Executable file
0
app/Linebot_handler/Expense.py
Normal file → Executable file
0
app/Linebot_handler/Expense.py
Normal file → Executable file
0
app/Linebot_handler/Handlers.py
Normal file → Executable file
0
app/Linebot_handler/Handlers.py
Normal file → Executable file
0
app/Linebot_handler/Router.py
Normal file → Executable file
0
app/Linebot_handler/Router.py
Normal file → Executable file
0
app/README.md
Normal file → Executable file
0
app/README.md
Normal file → Executable file
0
app/Trading/Router.py
Normal file → Executable file
0
app/Trading/Router.py
Normal file → Executable file
0
app/captcha_state.py
Normal file → Executable file
0
app/captcha_state.py
Normal file → Executable file
0
app/config.py
Normal file → Executable file
0
app/config.py
Normal file → Executable file
0
app/create_rich_menu.py
Normal file → Executable file
0
app/create_rich_menu.py
Normal file → Executable file
0
app/invoice_fetcher.py
Normal file → Executable file
0
app/invoice_fetcher.py
Normal file → Executable file
0
app/main.py
Normal file → Executable file
0
app/main.py
Normal file → Executable file
0
app/old_main.py
Normal file → Executable file
0
app/old_main.py
Normal file → Executable file
0
app/pyproject.toml
Normal file → Executable file
0
app/pyproject.toml
Normal file → Executable file
0
app/requirement.txt
Normal file → Executable file
0
app/requirement.txt
Normal file → Executable file
0
app/rich_menu.png
Normal file → Executable file
0
app/rich_menu.png
Normal file → Executable file
|
Before Width: | Height: | Size: 36 KiB After Width: | Height: | Size: 36 KiB |
0
app/uv.lock
generated
Normal file → Executable file
0
app/uv.lock
generated
Normal file → Executable file
20
docker-compose.yml
Normal file → Executable file
20
docker-compose.yml
Normal file → Executable 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
0
structure.txt
Normal file → Executable file
Reference in New Issue
Block a user