Skip to content

Commit

Permalink
update docker-compose
Browse files Browse the repository at this point in the history
  • Loading branch information
schehata committed May 22, 2024
1 parent d2104d8 commit 1615257
Showing 1 changed file with 20 additions and 3 deletions.
23 changes: 20 additions & 3 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
@@ -1,14 +1,31 @@
version: '3.0'

services:
grafana:
user: root
container_name: 'axiom-axiomgrafana-datasource'

platform: 'linux/amd64'
build:
context: ./.config
args:
grafana_version: ${GRAFANA_VERSION:-9.3.8}
grafana_image: ${GRAFANA_IMAGE:-grafana-enterprise}
grafana_version: ${GRAFANA_VERSION:-10.3.3}
development: ${DEVELOPMENT:-false}
ports:
- 3000:3000/tcp
- 2345:2345/tcp # delve
security_opt:
- 'apparmor:unconfined'
- 'seccomp:unconfined'
cap_add:
- SYS_PTRACE
volumes:
- ./dist:/var/lib/grafana/plugins/axiom-axiomgrafana-datasource
- ./provisioning:/etc/grafana/provisioning
- .:/root/axiom-axiomgrafana-datasource

environment:
NODE_ENV: development
GF_LOG_FILTERS: plugin.axiom-axiomgrafana-datasource:debug
GF_LOG_LEVEL: debug
GF_DATAPROXY_LOGGING: 1
GF_PLUGINS_ALLOW_LOADING_UNSIGNED_PLUGINS: axiom-axiomgrafana-datasource

0 comments on commit 1615257

Please sign in to comment.