docs: 更新部署文档和配置,支持预构建镜像和本地构建两种方式

This commit is contained in:
fawney19
2025-12-11 18:16:19 +08:00
parent 7de1926fc8
commit 3b8a55adea
5 changed files with 234 additions and 15 deletions

View File

@@ -1,5 +1,5 @@
# Aether 部署配置
# 使用 ./deploy.sh 自动部署
# Aether 部署配置 - 使用预构建镜像
# 使用方法: docker-compose up -d
services:
postgres:
@@ -37,7 +37,7 @@ services:
restart: unless-stopped
app:
image: aether-app:latest
image: ghcr.io/fawney19/aether:latest
container_name: aether-app
environment:
DATABASE_URL: postgresql://postgres:${DB_PASSWORD}@postgres:5432/aether
@@ -65,11 +65,9 @@ services:
ports:
- "${APP_PORT:-8084}:80"
volumes:
# 挂载日志目录到主机,便于调试和持久化
- ./logs:/app/logs
restart: unless-stopped
volumes:
postgres_data:
redis_data:
redis_data: