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