Fixes container restart policy
This commit is contained in:
		
							parent
							
								
									9ffd149c65
								
							
						
					
					
						commit
						1961184f93
					
				
					 1 changed files with 2 additions and 1 deletions
				
			
		|  | @ -22,6 +22,7 @@ services: | ||||||
| 
 | 
 | ||||||
|   nextcloud-app: |   nextcloud-app: | ||||||
|     image: nextcloud:27-fpm-alpine |     image: nextcloud:27-fpm-alpine | ||||||
|  |     restart: unless-stopped | ||||||
|     container_name: nextcloud-app |     container_name: nextcloud-app | ||||||
|     depends_on: |     depends_on: | ||||||
|       - mysqldb |       - mysqldb | ||||||
|  | @ -42,7 +43,7 @@ services: | ||||||
| 
 | 
 | ||||||
|   web: |   web: | ||||||
|     image: nginx |     image: nginx | ||||||
|     restart: always |     restart: unless-stopped | ||||||
|     depends_on: |     depends_on: | ||||||
|       - nextcloud-app |       - nextcloud-app | ||||||
|     volumes: |     volumes: | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		
		Reference in a new issue