shockrah
30ee715264
+ Reverse proxy entry for nginx routing This is the first step for establishing a goal for the server's logging stack
27 lines
576 B
YAML
27 lines
576 B
YAML
---
|
|
- hosts: leftcoastlab
|
|
become: yes
|
|
tasks:
|
|
- name: Include Vars
|
|
include_vars:
|
|
dir: ../vars
|
|
|
|
- name: Create Grafana Volume
|
|
community.docker.docker_volume:
|
|
name: grafana-volume
|
|
|
|
- name: Setup Grafana Container(latest)
|
|
community.docker.docker_container:
|
|
name: grafana
|
|
image: grafana/grafana-oss:latest
|
|
pull: yes
|
|
restart_policy: always
|
|
recreate: yes
|
|
timeout: 120
|
|
ports:
|
|
- "{{GRAFANA_PORT}}:3000"
|
|
volumes:
|
|
- "grafana-volume:/var/lib/grafana/"
|
|
|
|
|