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