Pull nextcloud image from our own image registry
This commit is contained in:
		
					parent
					
						
							
								f8ac16f65b
							
						
					
				
			
			
				commit
				
					
						6ad42219c0
					
				
			
		
					 1 changed files with 2 additions and 21 deletions
				
			
		|  | @ -3,27 +3,8 @@ version: "3.6" | |||
| 
 | ||||
| services: | ||||
|   nextcloud: | ||||
|     build: | ||||
|       context: . | ||||
|       # Use the following example for adding cron: | ||||
|       # https://github.com/nextcloud/docker/tree/master/.examples/dockerfiles/cron/apache | ||||
|       dockerfile_inline: | | ||||
|         FROM nextcloud:{{ nextcloud__version }} | ||||
| 
 | ||||
|         RUN apt-get update && apt-get install -y \ | ||||
|             supervisor \ | ||||
|           && rm -rf /var/lib/apt/lists/* \ | ||||
|           && mkdir /var/log/supervisord /var/run/supervisord | ||||
| 
 | ||||
|         RUN cat <<EOF > /supervisord.conf | ||||
| {% filter indent(width=8) %} | ||||
|         {{ lookup('ansible.builtin.file', 'supervisord.conf') }} | ||||
| {% endfilter %} | ||||
|         EOF | ||||
| 
 | ||||
|         ENV NEXTCLOUD_UPDATE=1 | ||||
| 
 | ||||
|         CMD ["/usr/bin/supervisord", "-c", "/supervisord.conf"] | ||||
|     image: git.hamburg.ccc.de/ccchh/oci-images/nextcloud:28 | ||||
|     pull_policy: always | ||||
|     restart: unless-stopped | ||||
|     ports: | ||||
|       - "8080:80" | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue