fix: Restart always
Restart always grafana and influxdb.
This commit is contained in:
parent
d7917423a3
commit
9394bbd4cc
@ -65,7 +65,6 @@
|
|||||||
tags:
|
tags:
|
||||||
- configuration
|
- configuration
|
||||||
|
|
||||||
|
|
||||||
- name: Ensure all requested components are running.
|
- name: Ensure all requested components are running.
|
||||||
community.docker.docker_compose:
|
community.docker.docker_compose:
|
||||||
project_src: "{{ grafana_setup_path | expanduser | realpath }}"
|
project_src: "{{ grafana_setup_path | expanduser | realpath }}"
|
||||||
|
@ -2,6 +2,7 @@ version: '3.9'
|
|||||||
services:
|
services:
|
||||||
influxdb:
|
influxdb:
|
||||||
image: influxdb:latest
|
image: influxdb:latest
|
||||||
|
restart: always
|
||||||
ports:
|
ports:
|
||||||
- '{{ influxdb.port }}:8086'
|
- '{{ influxdb.port }}:8086'
|
||||||
volumes:
|
volumes:
|
||||||
@ -13,6 +14,7 @@ services:
|
|||||||
|
|
||||||
grafana:
|
grafana:
|
||||||
image: grafana/grafana-oss:latest
|
image: grafana/grafana-oss:latest
|
||||||
|
restart: always
|
||||||
ports:
|
ports:
|
||||||
- '{{ grafana.port }}:3000'
|
- '{{ grafana.port }}:3000'
|
||||||
volumes:
|
volumes:
|
||||||
|
Loading…
Reference in New Issue
Block a user