Add grafana container restart policy

This commit is contained in:
Kris Lamoureux 2020-07-29 00:43:31 -04:00
parent e2b1d4f57a
commit 2af29f7b72
Signed by: kris
GPG Key ID: 3EDA9C3441EDA925
3 changed files with 6 additions and 0 deletions

View File

@ -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:

View File

@ -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

View File

@ -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 }}"