Add watchtower, fixes and prepare for new caddy handling
This commit is contained in:
		
							parent
							
								
									a594e5d083
								
							
						
					
					
						commit
						29f31783f5
					
				
					 14 changed files with 213 additions and 42 deletions
				
			
		| 
						 | 
				
			
			@ -2,21 +2,28 @@ services:
 | 
			
		|||
  webdis:
 | 
			
		||||
    image: nicolas/webdis:latest
 | 
			
		||||
    restart: always
 | 
			
		||||
    labels:
 | 
			
		||||
      com.centurylinklabs.watchtower.enable: true
 | 
			
		||||
    command: /usr/local/bin/webdis /config/webdis.json
 | 
			
		||||
    volumes:
 | 
			
		||||
      - ./webdis.json:/config/webdis.json
 | 
			
		||||
    networks:
 | 
			
		||||
      - shared
 | 
			
		||||
      local-net:
 | 
			
		||||
      services:
 | 
			
		||||
        aliases:
 | 
			
		||||
          - webdis
 | 
			
		||||
    depends_on:
 | 
			
		||||
      - redis
 | 
			
		||||
    ports:
 | 
			
		||||
      - "127.0.0.1:7379:7379"
 | 
			
		||||
 | 
			
		||||
  redis:
 | 
			
		||||
    image: redis:6.2.6
 | 
			
		||||
    restart: always
 | 
			
		||||
    labels:
 | 
			
		||||
      com.centurylinklabs.watchtower.enable: true
 | 
			
		||||
    networks:
 | 
			
		||||
      - shared
 | 
			
		||||
      local-net:
 | 
			
		||||
 | 
			
		||||
networks:
 | 
			
		||||
  shared:
 | 
			
		||||
  local-net:
 | 
			
		||||
  services:
 | 
			
		||||
    external: true
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Reference in a new issue