feat(docker): 添加docker-compose版本声明
为docker-compose.yml文件添加version "3.8"声明, 确保使用兼容的compose文件格式版本。
This commit is contained in:
@@ -0,0 +1,35 @@
|
||||
# PostgreSQL
|
||||
POSTGRES_USER=shiran
|
||||
POSTGRES_PASSWORD=change-me-postgres-password
|
||||
POSTGRES_DB=ciyuan_viewfinder
|
||||
POSTGRES_PGDATA=/var/lib/postgresql/data/pgdata
|
||||
|
||||
# Redis
|
||||
REDIS_URL=redis://redis:6379/0
|
||||
|
||||
# MinIO / S3
|
||||
MINIO_ROOT_USER=minioadmin
|
||||
MINIO_ROOT_PASSWORD=change-me-minio-password
|
||||
S3_ENDPOINT=http://minio:9000
|
||||
S3_ACCESS_KEY=minioadmin
|
||||
S3_SECRET_KEY=change-me-minio-password
|
||||
S3_BUCKET=ciyuan-viewfinder
|
||||
|
||||
# Server
|
||||
DATABASE_URL=postgresql+asyncpg://shiran:change-me-postgres-password@postgres:5432/ciyuan_viewfinder
|
||||
DATABASE_URL_SYNC=postgresql://shiran:change-me-postgres-password@postgres:5432/ciyuan_viewfinder
|
||||
SECRET_KEY=change-me-before-production
|
||||
ACCESS_TOKEN_EXPIRE_MINUTES=43200
|
||||
REFRESH_TOKEN_EXPIRE_DAYS=60
|
||||
STORAGE_BACKEND=local
|
||||
LOCAL_STORAGE_PATH=/app/uploads
|
||||
TENCENT_MAP_KEY=
|
||||
LOG_LEVEL=INFO
|
||||
LOG_JSON=false
|
||||
|
||||
# Frontend build
|
||||
VITE_API_BASE=/api/v1
|
||||
|
||||
# Nginx host ports
|
||||
CLIENT_WEB_PORT=5173
|
||||
ADMIN_WEB_PORT=5174
|
||||
Reference in New Issue
Block a user