mirror of
https://git.wownero.com/lza_menace/wowstash.git
synced 2024-08-15 00:33:15 +00:00
allow longer event type strings in db add graf container w/ pre-built dashboard remove elasticsearch and use db based event logging add init command Co-authored-by: lza_menace <lza_menace@protonmail.com> Reviewed-on: https://git.wownero.com/lza_menace/wowstash/pulls/3
40 lines
1.1 KiB
YAML
40 lines
1.1 KiB
YAML
version: '3'
|
|
volumes:
|
|
grafana:
|
|
services:
|
|
db:
|
|
image: postgres:9.6.15-alpine
|
|
container_name: wowstash_db
|
|
ports:
|
|
- 5432:5432
|
|
environment:
|
|
POSTGRES_PASSWORD: ${DB_PASS}
|
|
POSTGRES_USER: ${DB_USER}
|
|
POSTGRES_DB: ${DB_NAME}
|
|
volumes:
|
|
- ./data/postgresql:/var/lib/postgresql/data
|
|
cache:
|
|
image: redis:latest
|
|
container_name: wowstash_cache
|
|
ports:
|
|
- 6379:6379
|
|
grafana:
|
|
image: grafana/grafana:6.5.0
|
|
container_name: grafana
|
|
restart: unless-stopped
|
|
ports:
|
|
- 127.0.0.1:3001:3000
|
|
environment:
|
|
HOSTNAME: grafana
|
|
GF_SECURITY_ADMIN_USER: admin
|
|
GF_SECURITY_ADMIN_PASSWORD: ${GRAFANA_PASSWORD}
|
|
GF_SERVER_ROOT_URL: ${GRAFANA_URL}
|
|
GF_ANALYTICS_REPORTING_ENABLED: "false"
|
|
GF_ANALYTICS_CHECK_FOR_UPDATES: "false"
|
|
GF_USERS_ALLOW_SIGN_UP: "false"
|
|
GF_USERS_ALLOW_ORG_CREATE: "false"
|
|
volumes:
|
|
- ./files/dashboards.yaml:/etc/grafana/provisioning/dashboards/default.yaml:ro
|
|
- ./files/wowstash_ops.json:/var/lib/grafana/dashboards/wowstash_ops.json:ro
|
|
- grafana:/var/lib/grafana
|