daml/ledger/metrics/collection/docker-compose.yml
Gary Verhaegen d2e2c21684
update copyright headers (#12240)
New year, new copyright, new expected unknown issues with various files
that won't be covered by the script and/or will be but shouldn't change.

I'll do the details on Jan 1, but would appreciate this being
preapproved so I can actually get it merged by then.

CHANGELOG_BEGIN
CHANGELOG_END
2022-01-03 16:36:51 +00:00

51 lines
1.3 KiB
YAML

# Copyright (c) 2022 Digital Asset (Switzerland) GmbH and/or its affiliates. All rights reserved.
# SPDX-License-Identifier: Apache-2.0
version: "3"
services:
grafana:
image: grafana/grafana
container_name: grafana
restart: always
ports:
- 3000:3000
networks:
- collection
volumes:
- ./grafana/provisioning:/etc/grafana/provisioning # configuration to be imported during startup
- ./grafana/dashboards:/var/lib/grafana/dashboards # dashboards to be imported during startup
- grafana-storage:/var/lib/grafana # preserve configuration changes during restarts
graphite:
image: graphiteapp/graphite-statsd
container_name: graphite
restart: always
ports:
- 2000:80
- 2003:2003
- 2004:2004
- 2023:2023
- 2024:2024
- 8125:8125/udp
- 8126:8126
networks:
- collection
volumes:
# preserve metrics data during restarts
- graphite-storage:/opt/graphite/storage
# make configuration visible on the host system
- ./graphite/conf:/opt/graphite/conf
- ./graphite/statsd_conf:/opt/statsd/config
# update default configuration during startup
- ./graphite/run_once:/etc/run_once
- ./graphite/default_conf:/etc/default_conf
networks:
collection:
volumes:
graphite-storage:
grafana-storage: