all restart policies for backup container
This commit is contained in:
		
							parent
							
								
									259cb76cc1
								
							
						
					
					
						commit
						b7ebd15d83
					
				
					 2 changed files with 5 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -150,6 +150,7 @@ services:
 | 
			
		|||
 | 
			
		||||
  backup:
 | 
			
		||||
    image: registry.git.base23.de/base23/backup/resticker:0.17.0
 | 
			
		||||
    restart: unless-stopped
 | 
			
		||||
    environment:
 | 
			
		||||
      PRE_COMMANDS: |-
 | 
			
		||||
        cd /compose-project/
 | 
			
		||||
| 
						 | 
				
			
			@ -182,6 +183,7 @@ services:
 | 
			
		|||
 | 
			
		||||
  prune-backup:
 | 
			
		||||
    image: registry.git.base23.de/base23/backup/resticker:0.17.0
 | 
			
		||||
    restart: unless-stopped
 | 
			
		||||
    environment:
 | 
			
		||||
      SKIP_INIT: "true"
 | 
			
		||||
      RUN_ON_STARTUP: "false"
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -117,6 +117,7 @@ services:
 | 
			
		|||
 | 
			
		||||
  backup:
 | 
			
		||||
    image: registry.git.base23.de/base23/backup/resticker:0.17.0
 | 
			
		||||
    restart: unless-stopped
 | 
			
		||||
    environment:
 | 
			
		||||
      PRE_COMMANDS: |-
 | 
			
		||||
        cd /compose-project/
 | 
			
		||||
| 
						 | 
				
			
			@ -149,6 +150,7 @@ services:
 | 
			
		|||
 | 
			
		||||
  prune-backup:
 | 
			
		||||
    image: registry.git.base23.de/base23/backup/resticker:0.17.0
 | 
			
		||||
    restart: unless-stopped
 | 
			
		||||
    environment:
 | 
			
		||||
      SKIP_INIT: "true"
 | 
			
		||||
      RUN_ON_STARTUP: "false"
 | 
			
		||||
| 
						 | 
				
			
			@ -158,7 +160,7 @@ services:
 | 
			
		|||
      TZ: Europe/Berlin
 | 
			
		||||
    volumes:
 | 
			
		||||
      - ./data/restic/ssh/:/run/secrets/.ssh:ro
 | 
			
		||||
  
 | 
			
		||||
 | 
			
		||||
  restore-cli:
 | 
			
		||||
    image: registry.git.base23.de/base23/backup/resticker:0.17.0
 | 
			
		||||
    entrypoint: /entrypoint-restore
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue