Compare commits
	
		
			34 Commits
		
	
	
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| 944d355b47 | |||
| e80298e546 | |||
| 6aab36ec2a | |||
| 3751f7434e | |||
| d6a9fcf77c | |||
| f448c67dbb | |||
| 4a968fd5ce | |||
| 354b8c6edb | |||
| 61b0d4669d | |||
| 517e2f3dcd | |||
| 73b53975b5 | |||
| 7ef9c84dce | |||
| 71a2cb587b | |||
| f125a6ddfc | |||
| 08cb4ded9e | |||
| d926328e23 | |||
| 
						
						
							
						
						4deb1d53b7
	
				 | 
					
					
						|||
| 3108e46f3d | |||
| 85f1e99153 | |||
| 93f3da858b | |||
| 5f41a56149 | |||
| e8aeb52a81 | |||
| 3d8edb129e | |||
| f0391ddfcf | |||
| 73ddccc66f | |||
| 556e51e87f | |||
| 
						
						
							
						
						e9359ec998
	
				 | 
					
					
						|||
| 6f86d1f007 | |||
| 
						
						
							
						
						8deefdbf38
	
				 | 
					
					
						|||
| 
						
						
							
						
						f4e1c1de18
	
				 | 
					
					
						|||
| 90924d7bb3 | |||
| 584f7aa710 | |||
| 
						
						
							
						
						6d9eb25330
	
				 | 
					
					
						|||
| 
						
						
							
						
						940d25b0c2
	
				 | 
					
					
						
@@ -47,7 +47,7 @@ name: build:latest
 | 
				
			|||||||
steps:
 | 
					steps:
 | 
				
			||||||
  - name: bump_patch
 | 
					  - name: bump_patch
 | 
				
			||||||
    depends_on: [clone]
 | 
					    depends_on: [clone]
 | 
				
			||||||
    image: registry.odit.services/hub/library/node:18.1.0-alpine3.15
 | 
					    image: registry.odit.services/hub/library/node:18.2.0-alpine3.15
 | 
				
			||||||
    commands:
 | 
					    commands:
 | 
				
			||||||
      - apk add git
 | 
					      - apk add git
 | 
				
			||||||
      - git config --global push.default current
 | 
					      - git config --global push.default current
 | 
				
			||||||
@@ -157,7 +157,7 @@ name: build:weekly
 | 
				
			|||||||
steps:
 | 
					steps:
 | 
				
			||||||
  - name: bump_prepatch
 | 
					  - name: bump_prepatch
 | 
				
			||||||
    depends_on: [clone]
 | 
					    depends_on: [clone]
 | 
				
			||||||
    image: registry.odit.services/hub/library/node:18.1.0-alpine3.15
 | 
					    image: registry.odit.services/hub/library/node:18.2.0-alpine3.15
 | 
				
			||||||
    commands:
 | 
					    commands:
 | 
				
			||||||
      - apk add git
 | 
					      - apk add git
 | 
				
			||||||
      - git config --global push.default current
 | 
					      - git config --global push.default current
 | 
				
			||||||
@@ -167,7 +167,7 @@ steps:
 | 
				
			|||||||
      - git pull
 | 
					      - git pull
 | 
				
			||||||
  - name: push to repo
 | 
					  - name: push to repo
 | 
				
			||||||
    image: appleboy/drone-git-push
 | 
					    image: appleboy/drone-git-push
 | 
				
			||||||
    depends_on: [bump_patch]
 | 
					    depends_on: [bump_prepatch]
 | 
				
			||||||
    settings:
 | 
					    settings:
 | 
				
			||||||
      commit: false
 | 
					      commit: false
 | 
				
			||||||
      author_email: bot@odit.services
 | 
					      author_email: bot@odit.services
 | 
				
			||||||
 
 | 
				
			|||||||
							
								
								
									
										33
									
								
								README.md
									
									
									
									
									
								
							
							
						
						
									
										33
									
								
								README.md
									
									
									
									
									
								
							@@ -0,0 +1,33 @@
 | 
				
			|||||||
 | 
					<p align="center">
 | 
				
			||||||
 | 
					  <a href="https://odit.services" target="blank"><img src="https://odit.services/img/profile-pic-no_bg.webp" width="200" alt="ODIT Logo" /></a>
 | 
				
			||||||
 | 
					</p>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  <p align="center">NGINX - Brotli</p>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					## Description
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					A custom alpine based nginx image including Brotli for compression.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					## Build
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					```bash
 | 
				
			||||||
 | 
					docker build .
 | 
				
			||||||
 | 
					```
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					## Use
 | 
				
			||||||
 | 
					* Docker Image: registry.odit.services/library/nginx-brotli
 | 
				
			||||||
 | 
					* Webserver Folder Mount: /usr/share/nginx/html/
 | 
				
			||||||
 | 
					* Nginx Config Mount: /etc/nginx/nginx.conf
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					## Release a new version (triggers ci)
 | 
				
			||||||
 | 
					```bash
 | 
				
			||||||
 | 
					# pnpm
 | 
				
			||||||
 | 
					pnpm i
 | 
				
			||||||
 | 
					pnpm release
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# yarn
 | 
				
			||||||
 | 
					yarn
 | 
				
			||||||
 | 
					yarn release
 | 
				
			||||||
 | 
					```
 | 
				
			||||||
@@ -1,6 +1,6 @@
 | 
				
			|||||||
{
 | 
					{
 | 
				
			||||||
  "name": "nginx-brotli",
 | 
					  "name": "nginx-brotli",
 | 
				
			||||||
  "version": "3.15.6",
 | 
					  "version": "3.15.30",
 | 
				
			||||||
  "description": "NGINX Base Image feat. brotli",
 | 
					  "description": "NGINX Base Image feat. brotli",
 | 
				
			||||||
  "repository": {
 | 
					  "repository": {
 | 
				
			||||||
    "type": "git",
 | 
					    "type": "git",
 | 
				
			||||||
@@ -11,6 +11,7 @@
 | 
				
			|||||||
    "release-it": "^15.0.0"
 | 
					    "release-it": "^15.0.0"
 | 
				
			||||||
  },
 | 
					  },
 | 
				
			||||||
  "scripts": {
 | 
					  "scripts": {
 | 
				
			||||||
 | 
					    "release": "release-it",
 | 
				
			||||||
    "release:patch": "release-it --patch --ci",
 | 
					    "release:patch": "release-it --patch --ci",
 | 
				
			||||||
    "release:prepatch": "release-it --prePatch --preRelease --ci"
 | 
					    "release:prepatch": "release-it --prePatch --preRelease --ci"
 | 
				
			||||||
  },
 | 
					  },
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user