added working Dockerfile and convenience Makefile
This commit is contained in:
		
							parent
							
								
									117ab98235
								
							
						
					
					
						commit
						7cfe320794
					
				
					 7 changed files with 25 additions and 6 deletions
				
			
		
							
								
								
									
										1
									
								
								.gitignore
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										1
									
								
								.gitignore
									
										
									
									
										vendored
									
									
								
							|  | @ -1 +1,2 @@ | ||||||
| *.swp | *.swp | ||||||
|  | public/ | ||||||
|  |  | ||||||
|  | @ -1,2 +1,2 @@ | ||||||
| FROM nginx:latest | FROM nginx:latest | ||||||
| COPY public/ /usr/lib/nginx/html/ | COPY public /usr/share/nginx/html | ||||||
|  |  | ||||||
							
								
								
									
										14
									
								
								Makefile
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										14
									
								
								Makefile
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,14 @@ | ||||||
|  | dev: | ||||||
|  | 	hugo server -D | ||||||
|  | static: | ||||||
|  | 	hugo | ||||||
|  | container: | ||||||
|  | 	podman build -t docker.io/jmbitci/www-jmbfountain-de .	 | ||||||
|  | publish: | ||||||
|  | 	podman push docker.io/jmbitci/www-jmbfountain-de | ||||||
|  | nopub: static container | ||||||
|  | 	podman run --rm docker.io/jmbitci/www-jmbfountain-de | ||||||
|  | 
 | ||||||
|  | all: static container publish | ||||||
|  | 
 | ||||||
|  | 
 | ||||||
|  | @ -1,4 +1,4 @@ | ||||||
| baseurl = "https://jmbit.de/" | baseurl = "https://www.jmbit.de/" | ||||||
| languageCode = "de-de" | languageCode = "de-de" | ||||||
| theme = "hugo-theme-terminal" | theme = "hugo-theme-terminal" | ||||||
| paginate = 5 | paginate = 5 | ||||||
|  | @ -30,11 +30,11 @@ paginate = 5 | ||||||
|       [[languages.en.menu.main]] |       [[languages.en.menu.main]] | ||||||
|         identifier = "about" |         identifier = "about" | ||||||
|         name = "Über mich" |         name = "Über mich" | ||||||
|         url = "/about" |         url = "/about/" | ||||||
|       [[languages.en.menu.main]] |       [[languages.en.menu.main]] | ||||||
|         identifier = "Expertise" |         identifier = "Expertise" | ||||||
|         name = "Expertise" |         name = "Expertise" | ||||||
|         url = "/expertise"      |         url = "/expertise/"      | ||||||
| 		[[languages.en.menu.main]] | 		[[languages.en.menu.main]] | ||||||
|         identifier = "consulting" |         identifier = "consulting" | ||||||
|         name = "Consulting" |         name = "Consulting" | ||||||
|  |  | ||||||
|  | @ -61,7 +61,7 @@ spec: | ||||||
|     email: webmaster@jmbit.de # replace this |     email: webmaster@jmbit.de # replace this | ||||||
|     privateKeySecretRef: |     privateKeySecretRef: | ||||||
|       name: letsencrypt-web-prod |       name: letsencrypt-web-prod | ||||||
|     server: https://acme-staging-v02.api.letsencrypt.org/directory |     server: https://acme-v02.api.letsencrypt.org/directory | ||||||
|     solvers: |     solvers: | ||||||
|       - http01: |       - http01: | ||||||
|           ingress: |           ingress: | ||||||
|  | @ -78,7 +78,7 @@ metadata: | ||||||
|     cert-manager.io/issuer: letsencrypt-web-prod |     cert-manager.io/issuer: letsencrypt-web-prod | ||||||
| spec: | spec: | ||||||
|   tls: |   tls: | ||||||
|     - secretName: jmbit-web-cert |     - secretName: jmbit-web-cert-prod | ||||||
|       hosts: |       hosts: | ||||||
|         - www.jmbit.de |         - www.jmbit.de | ||||||
|         - jmbit.de |         - jmbit.de | ||||||
|  |  | ||||||
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							|  | @ -0,0 +1 @@ | ||||||
|  | {"Target":"style.css","MediaType":"text/css","Data":{}} | ||||||
		Loading…
	
	Add table
		
		Reference in a new issue