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