-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
80 lines (73 loc) · 1.63 KB
/
Copy pathdocker-compose.yml
File metadata and controls
80 lines (73 loc) · 1.63 KB
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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
services:
postgres:
image: pgvector/pgvector:pg16
container_name: multi_postgres
restart: unless-stopped
env_file:
- .env
environment:
POSTGRES_USER: ${POSTGRES_USER}
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
POSTGRES_DB: ${POSTGRES_DB}
ports:
- "${POSTGRES_PORT}:5432"
volumes:
- postgres_data:/var/lib/postgresql/data
networks:
- multi_network
nats:
image: nats:2.10-alpine
container_name: multi_nats
command: >
-js
-a 0.0.0.0
-m ${NATS_MONITOR_PORT}
--user ${NATS_USER}
--pass ${NATS_PASSWORD}
ports:
- "${NATS_PORT}:4222"
- "${NATS_MONITOR_PORT}:8222"
networks:
- multi_network
minio:
image: minio/minio:latest
container_name: multi_minio
restart: unless-stopped
env_file:
- .env
command: server /data --console-address ":${MINIO_CONSOLE_PORT}"
ports:
- "${MINIO_API_PORT}:9000"
- "${MINIO_CONSOLE_PORT}:9001"
volumes:
- minio_data:/data
networks:
- multi_network
pgadmin:
image: dpage/pgadmin4
container_name: multi_pgadmin
restart: unless-stopped
environment:
PGADMIN_DEFAULT_EMAIL: admin@example.com
PGADMIN_DEFAULT_PASSWORD: admin
ports:
- "${PGADMIN_PORT}:80"
networks:
- multi_network
redis:
image: redis:7-alpine
container_name: multi_redis
restart: unless-stopped
ports:
- "${REDIS_PORT}:6379"
networks:
- multi_network
volumes:
- redis_data:/data
volumes:
postgres_data:
minio_data:
redis_data:
networks:
multi_network:
driver: bridge