Skip to content

Commit

Permalink
Merge branch 'v3' into PMM-13391-integrate-victorialogs
Browse files Browse the repository at this point in the history
  • Loading branch information
ademidoff authored Oct 28, 2024
2 parents cb2f4ac + 43cc6db commit cb0161d
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 3 deletions.
2 changes: 2 additions & 0 deletions build/ansible/roles/grafana/files/grafana.ini
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ format = console
enable_gzip = true
# The full public facing url
root_url = https://%(domain)s/graph
# Serve Grafana from subpath specified in `root_url` setting. By default it is set to false for compatibility reasons.
serve_from_sub_path = true

#################################### Snapshots ###########################
[snapshots]
Expand Down
1 change: 0 additions & 1 deletion build/ansible/roles/nginx/files/conf.d/pmm.conf
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,6 @@
location /graph {
proxy_cookie_path / "/;";
proxy_pass http://127.0.0.1:3000;
rewrite ^/graph/(.*) /$1 break;
proxy_read_timeout 600;
proxy_http_version 1.1;
proxy_set_header Connection $connection_upgrade;
Expand Down
15 changes: 13 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ services:
- PMM_WATCHTOWER_HOST=${PMM_WATCHTOWER_HOST:-http://watchtower:8080}
- PMM_WATCHTOWER_TOKEN=${PMM_WATCHTOWER_TOKEN:-INSECURE_TOKEN}
- PMM_RELEASE_VERSION=3.0.0-alpha
- GF_RENDERING_SERVER_URL=http://renderer:8081/render
- GF_RENDERING_CALLBACK_URL=https://pmm-server:8443/graph/
# - PMM_DISTRIBUTION_METHOD=${PMM_DISTRIBUTION_METHOD:-docker}
- PMM_DEV_UPDATE_DOCKER_IMAGE=${PMM_DEV_UPDATE_DOCKER_IMAGE:-}
# - PMM_DEV_VERSION_SERVICE_URL=http://localhost:11000
Expand Down Expand Up @@ -98,7 +100,16 @@ services:
# /opt/entrypoint.sh
# "

# docker run -v /var/run/docker.sock:/var/run/docker.sock -e WATCHTOWER_HTTP_API_UPDATE=1 -e WATCHTOWER_HTTP_API_TOKEN=123 --hostname=watchtower --network=pmm_default docker.io/bupychuk/watchtower
renderer:
image: grafana/grafana-image-renderer:latest
ports:
- 8081:8081
environment:
- RENDERING_VERBOSE_LOGGING=true
- RENDERING_DUMPIO=true
- IGNORE_HTTPS_ERRORS=true
- LOG_LEVEL=debug

watchtower:
profiles:
- pmm
Expand All @@ -113,7 +124,7 @@ services:
networks:
- ${NETWORK:-default}
volumes:
- /var/run/docker.sock:${DOCKER_PATH:-/var/run/docker.sock}
- ${DOCKER_PATH:-/var/run/docker.sock}:/var/run/docker.sock

# PMM with external DBs
ch:
Expand Down

0 comments on commit cb0161d

Please sign in to comment.