2022-11-04 14:49:36 -05:00
|
|
|
# -----------------------------------------------------------------------
|
|
|
|
|
# NOTE:
|
2024-11-01 12:20:21 -04:00
|
|
|
# Dependencies are not included as part of ROCm Compute Profiler.
|
2025-01-02 13:29:47 -08:00
|
|
|
# It's the user's responsibility to accept any licensing implications
|
2022-11-04 14:49:36 -05:00
|
|
|
# before building the project
|
|
|
|
|
# -----------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
|
version: "3.3"
|
|
|
|
|
|
|
|
|
|
services:
|
|
|
|
|
web:
|
2024-11-01 12:20:21 -04:00
|
|
|
image: rocprofiler-compute-grafana-v1.0
|
|
|
|
|
container_name: rocprofiler-compute-grafana-v1.0
|
2022-11-04 14:49:36 -05:00
|
|
|
restart: always
|
|
|
|
|
build: .
|
2024-05-09 13:38:23 +00:00
|
|
|
environment:
|
|
|
|
|
- GF_PATHS_CONFIG="grafana/etc/grafana.ini"
|
2024-11-01 12:20:21 -04:00
|
|
|
- GF_PLUGINS_ALLOW_LOADING_UNSIGNED_PLUGINS=amd-rocprofiler-compute-data-plugin
|
2024-05-09 13:38:23 +00:00
|
|
|
- GF_DEFAULT_APP_MODE=development
|
2022-11-04 14:49:36 -05:00
|
|
|
ports:
|
|
|
|
|
- "14000:4000"
|
|
|
|
|
volumes:
|
|
|
|
|
- grafana-storage:/var/lib/grafana
|
|
|
|
|
stdin_open: true
|
|
|
|
|
tty: true
|
|
|
|
|
db_mongo:
|
|
|
|
|
container_name: mongo
|
|
|
|
|
image: mongo
|
|
|
|
|
restart: always
|
|
|
|
|
environment:
|
2022-11-10 11:55:04 -06:00
|
|
|
MONGO_INITDB_ROOT_USERNAME: temp
|
|
|
|
|
MONGO_INITDB_ROOT_PASSWORD: temp123
|
2022-11-04 14:49:36 -05:00
|
|
|
volumes:
|
|
|
|
|
- grafana-mongo-db:/data/db
|
|
|
|
|
ports:
|
|
|
|
|
- "27018:27017"
|
|
|
|
|
command: mongod --bind_ip 0.0.0.0
|
|
|
|
|
|
|
|
|
|
volumes:
|
|
|
|
|
grafana-mongo-db:
|
|
|
|
|
external: true
|
|
|
|
|
grafana-storage:
|
|
|
|
|
external: true
|