USe unless-stopped instead of always
This commit is contained in:
		
					parent
					
						
							
								475a758f83
							
						
					
				
			
			
				commit
				
					
						dfbc8e58a9
					
				
			
		
					 6 changed files with 15 additions and 15 deletions
				
			
		|  | @ -10,7 +10,7 @@ services: | |||
|       - database:/var/lib/postgresql/data | ||||
|     networks: | ||||
|       backend: | ||||
|     restart: always | ||||
|     restart: unless-stopped | ||||
|    | ||||
|   redis: | ||||
|     image: docker.io/redis:7 | ||||
|  | @ -20,7 +20,7 @@ services: | |||
|       - redis:/rdata | ||||
|     # run redis-server, save a snapshot every 60 seconds if there has been at least 1 write | ||||
|     command: ["redis-server", "--save", "60", "1"] | ||||
|     restart: always | ||||
|     restart: unless-stopped | ||||
|     networks: | ||||
|       backend: | ||||
| 
 | ||||
|  | @ -32,7 +32,7 @@ services: | |||
|     volumes: | ||||
|       - ./configs/pretix.cfg:/etc/pretix/pretix.cfg | ||||
|       - pretix:/data | ||||
|     restart: always | ||||
|     restart: unless-stopped | ||||
|     networks: | ||||
|       backend: | ||||
|       frontend: | ||||
|  | @ -41,7 +41,7 @@ services: | |||
|     image: gitlab-cr.hamburg.ccc.de/ccchh/hackertours/hackertours:latest | ||||
|     ports:  | ||||
|       - "8888:80" | ||||
|     restart: always | ||||
|     restart: unless-stopped | ||||
|     networks: | ||||
|       frontend: | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue