Compare commits
	
		
			4 Commits
		
	
	
		
			2.1.2+24.0
			...
			add-postgr
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| ea48f6837c | |||
| dba042ff46 | |||
| 27e8e62675 | |||
| 559ca6a95c | 
							
								
								
									
										24
									
								
								README.md
									
									
									
									
									
								
							
							
						
						
									
										24
									
								
								README.md
									
									
									
									
									
								
							| @ -166,27 +166,3 @@ Here is an example CSS config which hides the local login and makes space for a | |||||||
| [nextcloud-docker]: https://hub.docker.com/_/nextcloud/ | [nextcloud-docker]: https://hub.docker.com/_/nextcloud/ | ||||||
| [`abra`]: https://git.autonomic.zone/autonomic-cooperative/abra | [`abra`]: https://git.autonomic.zone/autonomic-cooperative/abra | ||||||
| [`coop-cloud/traefik`]: https://git.autonomic.zone/coop-cloud/traefik | [`coop-cloud/traefik`]: https://git.autonomic.zone/coop-cloud/traefik | ||||||
|  |  | ||||||
| ## Using [`previewgenerator`](https://github.com/nextcloud/previewgenerator) app |  | ||||||
|  |  | ||||||
| > Beware, this appp has been known to not work... |  | ||||||
|  |  | ||||||
| After you install, enable etc. then you need to run the generation (**warning**: it can take a long time!): |  | ||||||
|  |  | ||||||
| ``` |  | ||||||
| abra app run <domain> app bash -u www-data |  | ||||||
| ./occ preview:generate-all |  | ||||||
| ``` |  | ||||||
|  |  | ||||||
| To set up the cron to run again, there is [no clear solution in the context of |  | ||||||
| containers](https://github.com/nextcloud/previewgenerator/issues/1). So, a |  | ||||||
| pretty dodgy hack is to run it from the system directly: |  | ||||||
|  |  | ||||||
| ``` |  | ||||||
| root@foo.com /etc/cron.hourly $ cat foo-com-preview-generate  |  | ||||||
| #!/bin/bash |  | ||||||
|  |  | ||||||
| docker exec -u www-data $(docker ps -f name=foo_com_app -q) ./occ preview:pre-generate |  | ||||||
| ``` |  | ||||||
|  |  | ||||||
| This app will improve performance of image browsing at the cost of storage space. |  | ||||||
|  | |||||||
							
								
								
									
										10
									
								
								compose.yml
									
									
									
									
									
								
							
							
						
						
									
										10
									
								
								compose.yml
									
									
									
									
									
								
							| @ -1,7 +1,7 @@ | |||||||
| version: "3.8" | version: "3.8" | ||||||
| services: | services: | ||||||
|   web: |   web: | ||||||
|     image: nginx:1.23.1 |     image: nginx:1.20.0 | ||||||
|     configs: |     configs: | ||||||
|       - source: nginx_conf |       - source: nginx_conf | ||||||
|         target: /etc/nginx/nginx.conf |         target: /etc/nginx/nginx.conf | ||||||
| @ -33,7 +33,7 @@ services: | |||||||
|         - "traefik.http.middlewares.${STACK_NAME}-redirect.headers.SSLHost=${DOMAIN}" |         - "traefik.http.middlewares.${STACK_NAME}-redirect.headers.SSLHost=${DOMAIN}" | ||||||
|  |  | ||||||
|   app: |   app: | ||||||
|     image: nextcloud:24.0.3-fpm |     image: nextcloud:23.0.3-fpm | ||||||
|     depends_on: |     depends_on: | ||||||
|       - db |       - db | ||||||
|     configs: |     configs: | ||||||
| @ -69,13 +69,13 @@ services: | |||||||
|         failure_action: rollback |         failure_action: rollback | ||||||
|         order: start-first |         order: start-first | ||||||
|       labels: |       labels: | ||||||
|         - "coop-cloud.${STACK_NAME}.version=2.1.2+24.0.3-fpm" |         - "coop-cloud.${STACK_NAME}.version=2.0.0+23.0.3-fpm" | ||||||
|         - "backupbot.backup=true" |         - "backupbot.backup=true" | ||||||
|         - "backupbot.backup.path=/var/www/html/config/,/var/www/html/data/,/var/www/html/custom_apps/" |         - "backupbot.backup.path=/var/www/html/config/,/var/www/html/data/,/var/www/html/custom_apps/" | ||||||
|  |  | ||||||
|  |  | ||||||
|   cron: |   cron: | ||||||
|     image: nextcloud:24.0.3-fpm |     image: nextcloud:23.0.3-fpm | ||||||
|     volumes: |     volumes: | ||||||
|       - nextcloud:/var/www/html/ |       - nextcloud:/var/www/html/ | ||||||
|       - nextapps:/var/www/html/custom_apps:cached |       - nextapps:/var/www/html/custom_apps:cached | ||||||
| @ -87,7 +87,7 @@ services: | |||||||
|     entrypoint: /cron.sh |     entrypoint: /cron.sh | ||||||
|  |  | ||||||
|   cache: |   cache: | ||||||
|     image: redis:7.0.4-alpine |     image: redis:6.2.5-alpine | ||||||
|     networks: |     networks: | ||||||
|       - internal |       - internal | ||||||
|     volumes: |     volumes: | ||||||
|  | |||||||
| @ -1,4 +1,4 @@ | |||||||
| 2.0.0 introduces a minor nextcloud update to 23.0.4 and moves the database service to a seperate override.yml file to support different database types (mariadb / postgres). This might break your installation. Please add the following snippet to your config .env to ensure the right db is used: | 2.0.0 introduces a minor nextcloud update to 23.0.3 and moves the database service to a seperate override.yml file to support different database types (mariadb / postgres). This might break your installation. Please add the following snippet to your config .env to ensure the right db is used: | ||||||
|  |  | ||||||
| ``` | ``` | ||||||
| COMPOSE_FILE="compose.yml" | COMPOSE_FILE="compose.yml" | ||||||
|  | |||||||
		Reference in New Issue
	
	Block a user