Merge branch 'master' into editor
This commit is contained in:
		@@ -2,7 +2,12 @@
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
# Source https://pentacent.medium.com/nginx-and-lets-encrypt-with-docker-in-less-than-5-minutes-b4b8a60d3a71
 | 
					# Source https://pentacent.medium.com/nginx-and-lets-encrypt-with-docker-in-less-than-5-minutes-b4b8a60d3a71
 | 
				
			||||||
 | 
					
 | 
				
			||||||
if ! [ -x "$(command -v docker compose)" ]; then
 | 
					if ! [ -x "$(command -v docker)" ]; then
 | 
				
			||||||
 | 
					  echo 'Error: docker is not installed.' >&2
 | 
				
			||||||
 | 
					  exit 1
 | 
				
			||||||
 | 
					fi
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					if ! [ -x "$(command -v compose)" ]; then
 | 
				
			||||||
  echo 'Error: docker compose is not installed.' >&2
 | 
					  echo 'Error: docker compose is not installed.' >&2
 | 
				
			||||||
  exit 1
 | 
					  exit 1
 | 
				
			||||||
fi
 | 
					fi
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user