-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
51 lines (46 loc) · 1017 Bytes
/
docker-compose.yml
File metadata and controls
51 lines (46 loc) · 1017 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
version: "3.8"
services:
postgres:
image: postgres:16
container_name: mozho_postgres
restart: unless-stopped
environment:
POSTGRES_USER: ${POSTGRES_USER}
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
POSTGRES_DB: ${POSTGRES_DB}
volumes:
- pgdata:/var/lib/postgresql/data
ports:
- "${POSTGRES_PORT}:5432"
networks:
- chatnet
redis:
image: redis
container_name: mozho_redis
restart: unless-stopped
ports:
- "${REDIS_PORT}:6379"
volumes:
- redisdata:/data
networks:
- chatnet
minio:
image: minio/minio:RELEASE.2025-04-22T22-12-26Z-cpuv1
container_name: minio
ports:
- "9000:9000" # API
- "9001:9001" # Web UI
environment:
MINIO_ROOT_USER: minioadmin
MINIO_ROOT_PASSWORD: minioadmin
command: server /data --console-address ":9001"
volumes:
- minio_data:/data
networks:
- chatnet
volumes:
pgdata:
redisdata:
minio_data:
networks:
chatnet: