[mod] redis
This commit is contained in:
		
							parent
							
								
									19febec27b
								
							
						
					
					
						commit
						69c563ab3f
					
				
					 2 changed files with 14 additions and 9 deletions
				
			
		
							
								
								
									
										8
									
								
								redis/data/.gitignore
									
										
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										8
									
								
								redis/data/.gitignore
									
										
									
									
										vendored
									
									
										Normal file
									
								
							| 
						 | 
					@ -0,0 +1,8 @@
 | 
				
			||||||
 | 
					# .gitignore sample
 | 
				
			||||||
 | 
					###################
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# Ignore all files in this dir...
 | 
				
			||||||
 | 
					*
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# ... except for this one.
 | 
				
			||||||
 | 
					!.gitignore
 | 
				
			||||||
| 
						 | 
					@ -4,14 +4,11 @@ services:
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  redis:
 | 
					  redis:
 | 
				
			||||||
    image: "arm32v7/redis"
 | 
					    image: "arm32v7/redis"
 | 
				
			||||||
    command: redis-server
 | 
					    command: redis-server --save 20 1 --loglevel warning 
 | 
				
			||||||
    container_name: redis-test
 | 
					    container_name: redis-test
 | 
				
			||||||
    network_mode: "host"        
 | 
					    ports:
 | 
				
			||||||
 | 
					      - '6379:6379'      
 | 
				
			||||||
    restart: unless-stopped
 | 
					    restart: unless-stopped
 | 
				
			||||||
    volumes: 
 | 
					    volumes: 
 | 
				
			||||||
      - redis-data:/data
 | 
					      - ./data:/data
 | 
				
			||||||
      - redis-conf:/usr/local/etc/redis/redis.conf
 | 
					 | 
				
			||||||
  
 | 
					  
 | 
				
			||||||
  volumes:
 | 
					 | 
				
			||||||
    redis-data:
 | 
					 | 
				
			||||||
    redis-conf:
 | 
					 | 
				
			||||||
		Loading…
	
	Add table
		
		Reference in a new issue