将 auth 数据库从 SQLite 迁移到 PostgreSQL

This commit is contained in:
fish
2026-05-03 20:50:28 +08:00
parent fbcde3cc71
commit 79d2f292f1
8 changed files with 23 additions and 59 deletions

View File

@@ -36,13 +36,10 @@ services:
environment:
- LISTEN_ADDR=:8080
- DATABASE_URL=postgres://trade:trade@postgres:5432/futures?sslmode=disable
- AUTH_DB_PATH=/app/auth/auth.db
depends_on:
- postgres
ports:
- "4000:8080"
volumes:
- ./data:/app/auth
restart: unless-stopped
volumes: