add cert-sorter, qbt and radarr containers
This commit is contained in:
		
							
								
								
									
										12
									
								
								cert-sorter/Dockerfile
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										12
									
								
								cert-sorter/Dockerfile
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,12 @@
 | 
			
		||||
FROM ubuntu:24.04
 | 
			
		||||
 | 
			
		||||
RUN mkdir -p /app /etc/letsencrypt /dest/1000
 | 
			
		||||
 | 
			
		||||
COPY copy.sh /app/copy.sh
 | 
			
		||||
 | 
			
		||||
RUN chmod +x /app/copy.sh
 | 
			
		||||
 | 
			
		||||
VOLUME /etc/letsencrypt
 | 
			
		||||
VOLUME /dest/1000
 | 
			
		||||
 | 
			
		||||
ENTRYPOINT ["/app/copy.sh"]
 | 
			
		||||
							
								
								
									
										8
									
								
								cert-sorter/copy.sh
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										8
									
								
								cert-sorter/copy.sh
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,8 @@
 | 
			
		||||
#!/bin/bash
 | 
			
		||||
 | 
			
		||||
rm -v /dest/1000/*.pem
 | 
			
		||||
cp -v /etc/letsencrypt/live/adguard.balsillie.house-0002/privkey.pem /dest/1000/privkey.pem
 | 
			
		||||
cp -v /etc/letsencrypt/live/adguard.balsillie.house-0002/cert.pem /dest/1000/cert.pem
 | 
			
		||||
cp -v /etc/letsencrypt/live/adguard.balsillie.house-0002/fullchain.pem /dest/1000/fullchain.pem
 | 
			
		||||
chown -v ubuntu:ubuntu /dest/1000/*.pem
 | 
			
		||||
ls -lh /dest/1000
 | 
			
		||||
		Reference in New Issue
	
	Block a user