更新 deploy/docker-compose.dev.yml
This commit is contained in:
@@ -10,7 +10,7 @@ services:
|
||||
POSTGRES_USER: ${POSTGRES_USER:-echochat}
|
||||
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD:-echochat_dev_2026}
|
||||
ports:
|
||||
- "5432:5432"
|
||||
- "7432:5432"
|
||||
volumes:
|
||||
- pgdata:/var/lib/postgresql/data
|
||||
- ./docker/postgres/init.sql:/docker-entrypoint-initdb.d/init.sql
|
||||
@@ -24,7 +24,7 @@ services:
|
||||
image: redis:7
|
||||
container_name: echochat-redis
|
||||
ports:
|
||||
- "6379:6379"
|
||||
- "7379:6379"
|
||||
volumes:
|
||||
- redisdata:/data
|
||||
- ./docker/redis/redis.conf:/usr/local/etc/redis/redis.conf
|
||||
@@ -40,15 +40,15 @@ services:
|
||||
container_name: echochat-minio
|
||||
command: server /data --console-address ":9001"
|
||||
ports:
|
||||
- "9000:9000"
|
||||
- "9001:9001"
|
||||
- "9200:9000"
|
||||
- "9201:9001"
|
||||
environment:
|
||||
MINIO_ROOT_USER: ${MINIO_ROOT_USER:-echochat}
|
||||
MINIO_ROOT_PASSWORD: ${MINIO_ROOT_PASSWORD:-echochat123456}
|
||||
volumes:
|
||||
- minio_data:/data
|
||||
healthcheck:
|
||||
test: ["CMD", "curl", "-f", "http://localhost:9000/minio/health/live"]
|
||||
test: ["CMD", "curl", "-f", "http://localhost:9200/minio/health/live"]
|
||||
interval: 10s
|
||||
timeout: 5s
|
||||
retries: 5
|
||||
|
||||
Reference in New Issue
Block a user