Add webdis service
This commit is contained in:
		
							parent
							
								
									57fe2ed42c
								
							
						
					
					
						commit
						a27a157e22
					
				
					 5 changed files with 89 additions and 0 deletions
				
			
		
							
								
								
									
										23
									
								
								playbooks/roles/webdis/vars/main.yml
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										23
									
								
								playbooks/roles/webdis/vars/main.yml
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,23 @@ | |||
| --- | ||||
| webdis_svc: | ||||
|   domain: "{{ all_services | service_get_domain(role_name) }}" | ||||
|   port: 7379 | ||||
| 
 | ||||
| webdis_compose: | ||||
|   watchtower: update | ||||
|   image: nicolas/webdis | ||||
|   volumes: | ||||
|     - ./webdis.json:/config/webdis.json | ||||
|   file: | ||||
|     services: | ||||
|       app: | ||||
|         command: /usr/local/bin/webdis /config/webdis.json | ||||
|         depends_on: | ||||
|           - redis | ||||
|       redis: | ||||
|         image: redis:6.2.6 | ||||
|         restart: always | ||||
|         labels: | ||||
|           com.centurylinklabs.watchtower.enable: true | ||||
|     networks: | ||||
|       default: | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue