build(deps): 升级 PostgreSQL 版本并更新数据目录

- 将 PostgreSQL 镜像从 17-alpine 升级到 18-alpine
- 更新 PostgreSQL 数据卷挂载路径至 postgres_data_18
This commit is contained in:
danial
2025-09-30 19:29:39 +08:00
parent 8bc8e1c664
commit e56cda4b16

View File

@@ -91,7 +91,7 @@ services:
# ===== PostgreSQL 数据库 =====
db:
image: postgres:17-alpine
image: postgres:18-alpine
container_name: apple-exchange-db
restart: always
environment:
@@ -137,7 +137,7 @@ volumes:
driver_opts:
type: none
o: bind
device: /data/apple_exchange/postgres_data
device: /data/apple_exchange/postgres_data_18
redis_data:
driver: local
driver_opts: