Add grafana container restart policy
This commit is contained in:
parent
e2b1d4f57a
commit
2af29f7b72
@ -6,6 +6,7 @@
|
||||
docker_container:
|
||||
name: "{{ gitea_dbname }}"
|
||||
image: mariadb:{{ gitea_dbversion }}
|
||||
state: started
|
||||
restart_policy: always
|
||||
volumes: "{{ gitea_dbroot }}:/var/lib/mysql"
|
||||
networks_cli_compatible: true
|
||||
@ -21,6 +22,7 @@
|
||||
docker_container:
|
||||
name: "{{ gitea_name }}"
|
||||
image: gitea/gitea:{{ gitea_version }}
|
||||
state: started
|
||||
restart_policy: always
|
||||
networks_cli_compatible: true
|
||||
networks:
|
||||
|
@ -6,6 +6,7 @@
|
||||
docker_container:
|
||||
name: "{{ nextcloud_dbcontainer }}"
|
||||
image: mariadb:{{ nextcloud_dbversion }}
|
||||
state: started
|
||||
restart_policy: always
|
||||
volumes: "{{ nextcloud_dbroot }}:/var/lib/mysql"
|
||||
networks_cli_compatible: true
|
||||
@ -21,6 +22,7 @@
|
||||
docker_container:
|
||||
name: "{{ nextcloud_container }}"
|
||||
image: nextcloud:{{ nextcloud_version }}
|
||||
state: started
|
||||
restart_policy: always
|
||||
volumes: "{{ nextcloud_root }}:/var/www/html"
|
||||
networks_cli_compatible: true
|
||||
|
@ -43,6 +43,8 @@
|
||||
docker_container:
|
||||
name: "{{ grafana_name }}"
|
||||
image: grafana/grafana:{{ grafana_version }}
|
||||
state: started
|
||||
restart_policy: always
|
||||
networks_cli_compatible: true
|
||||
networks:
|
||||
- name: "{{ prom_name }}"
|
||||
|
Loading…
Reference in New Issue
Block a user