first push

add linebot & search invoices
This commit is contained in:
2026-03-09 00:49:08 +08:00
commit 9b4c7cfeda
2 changed files with 43 additions and 0 deletions

27
docker-compose.yml Normal file
View File

@@ -0,0 +1,27 @@
version: '3.8'
services:
app:
build: ./app
ports:
- "8000:8000"
env_file:
- .env
depends_on:
- db
volumes:
- ./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: