-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose-alll.yaml
More file actions
129 lines (116 loc) · 3.88 KB
/
docker-compose-alll.yaml
File metadata and controls
129 lines (116 loc) · 3.88 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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
version: "3.9" # Or your preferred compose file version
services:
mariadb:
image: mariadb:latest # Or a specific version
container_name: mariadb
ports:
- "3306:3306" # Map the port (adjust if needed)
volumes:
- ~/xData/data/mariadb/db:/var/lib/mysql # Persist database data
environment:
- MARIADB_ROOT_PASSWORD=your_root_password # Set root password (IMPORTANT)
- MARIADB_USER=your_user # Create a user (optional)
- MARIADB_PASSWORD=your_password # User password (optional)
- MARIADB_DATABASE=neodrive # Database name
restart: always
mongodb:
image: mongodb/mongodb-community-server:latest
container_name: mongodb
ports:
- "27017:27017" # Map the port (adjust if needed)
volumes:
- ~/xData/data/mongodb/db:/data/db # Persist database data
restart: always
zincsearch:
image: public.ecr.aws/zinclabs/zincsearch:latest # Use the specific image
container_name: zincsearch-
ports:
- "4080:4080" # ZincSearch HTTP (changed to 4080 as per your command)
# - "6000:6000" # ZincSearch gRPC (if needed) - Uncomment if you need gRPC
volumes:
- ~/xData/data/zincsearch:/data # Use /data as per your command
environment:
- ZINC_FIRST_ADMIN_USER=admin
- ZINC_FIRST_ADMIN_PASSWORD=Complexpass#123 # For initial setup ONLY - CHANGE IMMEDIATELY
- ZINC_DATA_PATH=/data # Important: Set this path inside the container
restart: always
typesense:
image: typesense/typesense:28.0
restart: on-failure
ports:
- "8108:8108"
volumes:
- ./typesense-data:/data
command: '--data-dir /data --api-key=xyz --enable-cors'
nginx:
image: nginx:latest # Or a specific version
container_name: nginx
ports:
# - "80:80" # Web port
- "443:443" # HTTPS port (if you configure SSL)
volumes:
- ~/xData/start/nginx.conf:/etc/nginx/conf.d/default.conf # Your Nginx config
- ~/xData/logs/nginx:/var/log/nginx # Nginx logs
# depends_on: # Ensure services it depends on are up
# - zincsearch
# - <other_services_nginx_depends_on> # e.g., mariadb
restart: always
ollama:
image: ollama/ollama:latest
container_name: ollama
ports:
- "8081:8081" # or your port
volumes:
- ~/xData/data/ollama:/root/.cache/ollama # Persist models
restart: always
valkey:
image: valkey/valkey:latest
container_name: valkey-$packageName
ports:
- "6379:6379" # Default Redis port
volumes:
- ~/xData/data/$packageName/valkey:/data # Persist data
restart: always
vector:
image: timberio/vector:latest-alpine
container_name: vector
ports:
- "8082:8082" # or your port
volumes:
- ~/xData/start/vector.toml:/etc/vector/vector.toml # Vector config
- ~/xData/logs/vector:/var/log/vector # Vector logs
depends_on:
- zincsearch # Or other services it depends on
restart: always
victoriametrics:
image: victoriametrics/victoria-metrics:latest
container_name: victoriametrics
ports:
- "8428:8428" # VictoriaMetrics HTTP
# - "8083:8083" # or your port
volumes:
- ~/xData/data/victoria-metrics:/data # Persist data
restart: always
sonic: # Example - adapt as needed
image: valeriansaliou/sonic:latest # Replace with actual image
container_name: sonicsearch
ports:
- "1491:1491"
volumes:
- ~/xData/data/sonicsearch:/var/lib/sonic/store/ # Persist data
restart: always
# ... other config
liftbridge: # Example - adapt as needed
image: liftbridge/liftbridge:latest
container_name: liftbridge
ports:
- "8085:8085"
volumes:
- ~/xData/data/liftbridge:/var/lib/liftbridge/ # Persist data
restart: always
# ... other config
volumes: # Define named volumes (optional)
mariadb_data:
zincsearch_data:
valkey_data:
victoria_metrics_data: