-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
137 lines (137 loc) · 3.5 KB
/
docker-compose.yaml
File metadata and controls
137 lines (137 loc) · 3.5 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
130
131
132
133
134
135
136
137
services:
ollama:
container_name: ollama
image: ollama/ollama:latest
ports:
- "11434:11434"
entrypoint: ["/bin/bash", "-c", "\
ollama serve & \
sleep 2 && \
ollama pull smollm:135m && \
wait"]
deploy:
replicas: 1
restart_policy:
condition: any
healthcheck:
test: ["CMD-SHELL", "curl -sf http://localhost:11434/api/tags"]
interval: 5s
timeout: 3s
retries: 20
start_period: 10s
postgres:
container_name: postgres
image: postgres:16
environment:
POSTGRES_USER: alphatrion
POSTGRES_PASSWORD: alphatr1on
POSTGRES_DB: alphatrion
ports:
- "5432:5432"
# volumes:
# - pg_data:/var/lib/postgresql/data
deploy:
replicas: 1
restart_policy:
condition: any
pgadmin:
image: dpage/pgadmin4
environment:
PGADMIN_DEFAULT_EMAIL: alphatrion@inftyai.com
PGADMIN_DEFAULT_PASSWORD: alphatr1on
ports:
- 8081:80
depends_on:
- postgres
registry-ui:
image: joxit/docker-registry-ui:main
restart: always
ports:
- 80:80
environment:
- SINGLE_REGISTRY=true
- REGISTRY_TITLE=Docker Registry UI
- DELETE_IMAGES=true
- SHOW_CONTENT_DIGEST=true
- NGINX_PROXY_PASS_URL=http://registry:5000
- SHOW_CATALOG_NB_TAGS=true
- CATALOG_MIN_BRANCHES=1
- CATALOG_MAX_BRANCHES=1
- TAGLIST_PAGE_SIZE=100
- REGISTRY_SECURED=false
- CATALOG_ELEMENTS_LIMIT=1000
container_name: registry-ui
registry:
container_name: registry
image: registry:3
ports:
- "5001:5000"
# volumes:
# - oras-data:/data
clickhouse:
container_name: clickhouse
image: clickhouse/clickhouse-server:24-alpine
ports:
- "9000:9000" # Native protocol
- "8123:8123" # HTTP interface
environment:
CLICKHOUSE_DB: alphatrion_traces
CLICKHOUSE_USER: alphatrion
CLICKHOUSE_PASSWORD: alphatr1on
# volumes:
# - clickhouse_data:/var/lib/clickhouse
deploy:
replicas: 1
restart_policy:
condition: any
# prometheus-pushgateway:
# container_name: prometheus-pushgateway
# image: prom/pushgateway:latest
# ports:
# - "9091:9091" # Push gateway HTTP interface
# deploy:
# replicas: 1
# restart_policy:
# condition: any
# prometheus:
# container_name: prometheus
# image: prom/prometheus:latest
# ports:
# - "9090:9090" # Prometheus UI
# volumes:
# - ./config/prometheus/prometheus.yml:/etc/prometheus/prometheus.yml
# - prometheus_data:/prometheus
# command:
# - '--config.file=/etc/prometheus/prometheus.yml'
# - '--storage.tsdb.path=/prometheus'
# depends_on:
# - prometheus-pushgateway
# deploy:
# replicas: 1
# restart_policy:
# condition: any
# grafana:
# container_name: grafana
# image: grafana/grafana:latest
# ports:
# - "3000:3000" # Grafana UI
# environment:
# - GF_SECURITY_ADMIN_PASSWORD=admin
# - GF_SECURITY_ADMIN_USER=admin
# - GF_INSTALL_PLUGINS=
# volumes:
# - grafana_data:/var/lib/grafana
# - ./config/grafana/provisioning:/etc/grafana/provisioning
# - ./config/grafana/dashboards:/var/lib/grafana/dashboards
# depends_on:
# - prometheus
# deploy:
# replicas: 1
# restart_policy:
# condition: any
# volumes:
# clickhouse_data:
# prometheus_data:
# grafana_data:
# pg_data:
# oras-data: