mirror of
https://git.oceanpay.cc/danial/kami_apple_exchage.git
synced 2025-12-18 22:29:09 +00:00
infrastructure(docker): 更新 Docker Compose 配置
- 修改 PostgreSQL 服务的端口映射,限制为本地访问 - 移除 Redis 服务的端口映射和自定义命令 - 删除网络的 IPAM 配置
This commit is contained in:
@@ -133,7 +133,7 @@ services:
|
||||
volumes:
|
||||
- postgres_data:/var/lib/postgresql/data
|
||||
ports:
|
||||
- "5444:5432"
|
||||
- "127.0.0.1:5444:5432"
|
||||
networks:
|
||||
- app-network
|
||||
healthcheck:
|
||||
@@ -148,9 +148,6 @@ services:
|
||||
container_name: apple-exchange-redis
|
||||
volumes:
|
||||
- redis_data:/data
|
||||
command: redis-server /usr/local/etc/redis/redis.conf
|
||||
ports:
|
||||
- "6379:6379"
|
||||
networks:
|
||||
- app-network
|
||||
healthcheck:
|
||||
@@ -215,6 +212,3 @@ networks:
|
||||
app-network:
|
||||
driver: bridge
|
||||
name: apple-exchange-network
|
||||
ipam:
|
||||
config:
|
||||
- subnet: 172.20.0.0/16
|
||||
|
||||
Reference in New Issue
Block a user