forked from datastaxdevs/workshop-spring-reactive
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yaml
47 lines (41 loc) · 1.22 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
version: "3.8"
services:
#cassandra:
# image: cassandra:3.11.7
# ports:
# - 7000:7000
# - 9042:9042
# ulimits:
# memlock: -1
# docker exec -it `docker ps | grep cassandra:3.11.7 | cut -b 1-12` cqlsh -e "create keyspace petclinic WITH REPLICATION = { 'class' : 'SimpleStrategy', 'replication_factor' : 3 };"
# docker exec -it `docker ps | grep cassandra:3.11.7 | cut -b 1-12` cqlsh -e "describe keyspaces"
#spring-petclinic-reactive:
# image: com.springframework/spring-petclinic-reactive:1.0
# build:
# context: .
#dockerfile: Dockerfile
# dockerfile: Dockerfilefast
# labels:
# com.springframework.samples.description: "pet Clinic"
# ports:
# - 8081:8081
# depends_on:
# - cassandra
tracing-server:
image: openzipkin/zipkin
container_name: tracing-server
environment:
- JAVA_OPTS=-XX:+UnlockExperimentalVMOptions -Djava.security.egd=file:/dev/./urandom
ports:
- 9411:9411
## Grafana / Prometheus
grafana-server:
build: ./docker/grafana
container_name: grafana-server
ports:
- 3000:3000
prometheus-server:
build: ./docker/prometheus
container_name: prometheus-server
ports:
- 9091:9090