2020-08-21 07:39:59 +00:00
|
|
|
version: '3'
|
2020-09-24 21:18:51 +00:00
|
|
|
volumes:
|
|
|
|
grafana:
|
2020-08-21 07:39:59 +00:00
|
|
|
services:
|
|
|
|
db:
|
|
|
|
image: postgres:9.6.15-alpine
|
2020-09-24 21:18:51 +00:00
|
|
|
container_name: wowstash_db
|
2020-08-21 07:39:59 +00:00
|
|
|
ports:
|
2020-12-18 17:18:37 +00:00
|
|
|
- 5432:5432
|
2020-08-21 07:39:59 +00:00
|
|
|
environment:
|
|
|
|
POSTGRES_PASSWORD: ${DB_PASS}
|
|
|
|
POSTGRES_USER: ${DB_USER}
|
|
|
|
POSTGRES_DB: ${DB_NAME}
|
2020-08-22 19:34:02 +00:00
|
|
|
volumes:
|
2020-08-25 20:16:14 +00:00
|
|
|
- ./data/postgresql:/var/lib/postgresql/data
|
2020-08-22 19:34:02 +00:00
|
|
|
cache:
|
2020-08-21 07:39:59 +00:00
|
|
|
image: redis:latest
|
2020-09-24 21:18:51 +00:00
|
|
|
container_name: wowstash_cache
|
2020-08-21 07:39:59 +00:00
|
|
|
ports:
|
|
|
|
- 6379:6379
|
2020-12-30 22:49:32 +00:00
|
|
|
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
|