Changeset View
Changeset View
Standalone View
Standalone View
docker-compose.yml
Show All 32 Lines | ports: | ||||
- "5093:9000" | - "5093:9000" | ||||
environment: | environment: | ||||
ZK_HOSTS: zookeeper:2181 | ZK_HOSTS: zookeeper:2181 | ||||
APPLICATION_SECRET: random-secret | APPLICATION_SECRET: random-secret | ||||
command: -Dpidfile.path=/dev/null | command: -Dpidfile.path=/dev/null | ||||
prometheus: | prometheus: | ||||
image: prom/prometheus | image: prom/prometheus | ||||
depends_on: | |||||
- prometheus-statsd-exporter | |||||
- prometheus-jmx-exporter | |||||
command: | command: | ||||
# Needed for the reverse-proxy | # Needed for the reverse-proxy | ||||
- "--web.external-url=/prometheus" | - "--web.external-url=/prometheus" | ||||
- "--config.file=/etc/prometheus/prometheus.yml" | - "--config.file=/etc/prometheus/prometheus.yml" | ||||
volumes: | volumes: | ||||
- "./conf/prometheus.yml:/etc/prometheus/prometheus.yml:ro" | - "./conf/prometheus.yml:/etc/prometheus/prometheus.yml:ro" | ||||
restart: unless-stopped | restart: unless-stopped | ||||
prometheus-statsd-exporter: | prometheus-statsd-exporter: | ||||
image: prom/statsd-exporter | image: prom/statsd-exporter | ||||
command: | command: | ||||
- "--statsd.mapping-config=/etc/prometheus/statsd-mapping.yml" | - "--statsd.mapping-config=/etc/prometheus/statsd-mapping.yml" | ||||
volumes: | volumes: | ||||
- "./conf/prometheus-statsd-mapping.yml:/etc/prometheus/statsd-mapping.yml:ro" | - "./conf/prometheus-statsd-mapping.yml:/etc/prometheus/statsd-mapping.yml:ro" | ||||
restart: unless-stopped | restart: unless-stopped | ||||
prometheus-jmx-exporter: | |||||
image: sscaling/jmx-prometheus-exporter | |||||
environment: | |||||
JVM_OPTS: "-Djava.util.logging.config.file=/logging.properties" | |||||
volumes: | |||||
- "./conf/prometheus-jmx-exporter.yml:/opt/jmx_exporter/config.yml:ro" | |||||
- "./conf/prometheus-jmx-exporter-logging.properties:/logging.properties:ro" | |||||
ports: | |||||
- "5556:5556" | |||||
grafana: | grafana: | ||||
image: grafana/grafana | image: grafana/grafana | ||||
restart: unless-stopped | restart: unless-stopped | ||||
depends_on: | |||||
- prometheus | |||||
environment: | environment: | ||||
GF_SERVER_ROOT_URL: http://localhost:5080/grafana | GF_SERVER_ROOT_URL: http://localhost:5080/grafana | ||||
volumes: | volumes: | ||||
- "./conf/grafana/provisioning:/etc/grafana/provisioning:ro" | - "./conf/grafana/provisioning:/etc/grafana/provisioning:ro" | ||||
- "./conf/grafana/dashboards:/var/lib/grafana/dashboards" | - "./conf/grafana/dashboards:/var/lib/grafana/dashboards" | ||||
nginx: | nginx: | ||||
image: nginx | image: nginx | ||||
▲ Show 20 Lines • Show All 84 Lines • ▼ Show 20 Lines | swh-storage: | ||||
depends_on: | depends_on: | ||||
- swh-storage-db | - swh-storage-db | ||||
- swh-objstorage | - swh-objstorage | ||||
- kafka | - kafka | ||||
env_file: | env_file: | ||||
- ./env/storage-db.env | - ./env/storage-db.env | ||||
environment: | environment: | ||||
SWH_CONFIG_FILENAME: /storage.yml | SWH_CONFIG_FILENAME: /storage.yml | ||||
STORAGE_BACKEND: postgresql | |||||
entrypoint: /entrypoint.sh | entrypoint: /entrypoint.sh | ||||
volumes: | volumes: | ||||
- "./conf/storage.yml:/storage.yml:ro" | - "./conf/storage.yml:/storage.yml:ro" | ||||
- "./services/swh-storage/entrypoint.sh:/entrypoint.sh:ro" | - "./services/swh-storage/entrypoint.sh:/entrypoint.sh:ro" | ||||
# Object storage | # Object storage | ||||
swh-objstorage: | swh-objstorage: | ||||
▲ Show 20 Lines • Show All 214 Lines • Show Last 20 Lines |