forked from Xetera/kiyomi
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yaml
79 lines (74 loc) · 2.04 KB
/
docker-compose.yaml
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
version: "3.4"
volumes:
prometheus_data:
grafana_data:
# not important to get indexed immediately
sp_pg:
external: true
networks:
observability:
services:
redis:
image: redis
container_name: sp_redis
ports:
- 6300:6379
rabbitmq:
image: heidiks/rabbitmq-delayed-message-exchange:3.8.9-management
container_name: sp_rabbitmq
ports:
- 3333:5672
- 15672:15672
pg:
container_name: sp_pg
restart: on-failure
build:
context: postgres
dockerfile: Dockerfile
ports:
- 5433:5432
environment:
POSTGRES_PASSWORD: test
POSTGRES_DATABASE: simp_pics
POSTGRES_USER: postgres
volumes:
- sp_pg:/var/lib/postgresql/data
prometheus:
image: prom/prometheus:v2.33.0
volumes:
- ./prometheus/:/etc/prometheus/
- prometheus_data:/prometheus
command:
- '--config.file=/etc/prometheus/prometheus.yml'
- '--storage.tsdb.path=/prometheus'
- '--web.console.libraries=/usr/share/prometheus/console_libraries'
- '--web.console.templates=/usr/share/prometheus/consoles'
# this might not work on mac
network_mode: host
# uncomment if required
# ports:
# - 9090:9090
grafana:
image: grafana/grafana
user: "472"
depends_on:
- prometheus
ports:
- 3003:3000
volumes:
- grafana_data:/var/lib/grafana
- ./grafana/provisioning/:/etc/grafana/provisioning/
environment:
- GF_SECURITY_ADMIN_PASSWORD=foobar
- GF_USERS_ALLOW_SIGN_UP=false
networks:
- observability
imgproxy:
image: darthsim/imgproxy
environment:
IMGPROXY_KEY: 07c52e42ea6f36ed4087b305ae29fb3e551ca936c4b817cf78a186c333b135f9c590d7eadd8cfe7cf038aa9113f911b64534e5bdd802e19c746889573c55a95a
IMGPROXY_SALT: d97a8516cf4ae6d387f5968c3b83396ea9b832e00196ff317447cfbf6341c4d644504b1796520e6b298d46fb62362904be53142e9c7811a21db32f7f7a3e757b
IMGPROXY_BIND: :3420
IMGPROXY_PROMETHEUS_BIND: :3421
IMGPROXY_PROMETHEUS_NAMESPACE: imgproxy
network_mode: host