forked from erpc/erpc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
64 lines (58 loc) · 1.56 KB
/
docker-compose.yml
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
version: "3"
services:
monitoring:
build: ./monitoring
ports:
- "3000:3000" # Grafana
- "9090:9090" # Prometheus
environment:
- SERVICE_ENDPOINT=host.docker.internal
- SERVICE_PORT=4001
volumes:
- ./monitoring/prometheus:/etc/prometheus
- ./monitoring/grafana/grafana.ini:/etc/grafana/grafana.ini
- ./monitoring/grafana/dashboards:/etc/grafana/dashboards
- prometheus_data:/prometheus
- grafana_data:/var/lib/grafana
# redis:
# container_name: erpc-redis
# image: redis:6.2.5
# restart: always
# ports:
# - "6379:6379"
# networks:
# erpc:
postgresql:
container_name: erpc-postgresql
image: postgres:13.4
restart: always
environment:
POSTGRES_USER: erpc
POSTGRES_PASSWORD: erpc
POSTGRES_DB: erpc
ports:
- "5432:5432"
networks:
erpc:
# scylla:
# container_name: erpc-scylla
# image: scylladb/scylla:5.2.18
# restart: always
# command: --alternator-port=8067 --alternator-write-isolation=unsafe_rmw --seeds=erpc-scylla --smp 1 --memory 1G --overprovisioned 1 --api-address 0.0.0.0
# volumes:
# - "./scylla/scylla.yaml:/etc/scylla/scylla.yaml"
# - "./scylla/cassandra-rackdc.properties.dc1:/etc/scylla/cassandra-rackdc.properties"
# - "./scylla/mutant-data.txt:/mutant-data.txt"
# ports:
# - "8067:8067"
# - "9042:9042"
# - "9160:9160"
# - "10000:10000"
# networks:
# erpc:
networks:
erpc:
driver: bridge
volumes:
prometheus_data:
grafana_data: