将 auth 数据库从 SQLite 迁移到 PostgreSQL
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user