mirror of
https://github.com/fawney19/Aether.git
synced 2026-01-02 15:52:26 +08:00
docs: 更新部署文档和配置,支持预构建镜像和本地构建两种方式
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user