mirror of
				https://gitlab.com/gpvkt/twitch-irl-docker.git
				synced 2025-10-31 00:57:37 +01:00 
			
		
		
		
	Added volume for letsencrypt certs
This commit is contained in:
		
							parent
							
								
									1f87d1d027
								
							
						
					
					
						commit
						07f8ac4d02
					
				
					 2 changed files with 2 additions and 0 deletions
				
			
		|  | @ -49,6 +49,7 @@ RUN chmod +x /startup.sh | ||||||
| 
 | 
 | ||||||
| VOLUME /opt/scripts/vol/ | VOLUME /opt/scripts/vol/ | ||||||
| VOLUME /var/www/html/ | VOLUME /var/www/html/ | ||||||
|  | VOLUME /var/lib/dehydrated/ | ||||||
| EXPOSE 1935 | EXPOSE 1935 | ||||||
| EXPOSE 80 | EXPOSE 80 | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
|  | @ -29,6 +29,7 @@ mv /etc/nginx/nginx_tmp.conf /etc/nginx/nginx.conf | ||||||
| /usr/bin/dehydrated --register --accept-terms | /usr/bin/dehydrated --register --accept-terms | ||||||
| /usr/bin/dehydrated -c | /usr/bin/dehydrated -c | ||||||
| killall nginx | killall nginx | ||||||
|  | mv /etc/nginx/nginx.conf /etc/nginx/nginx_tmp.conf | ||||||
| mv /etc/nginx/nginx.conf.full /etc/nginx/nginx.conf | mv /etc/nginx/nginx.conf.full /etc/nginx/nginx.conf | ||||||
| 
 | 
 | ||||||
| if [ -z ${LETSENCRYPT_DOMAIN} ]; then | if [ -z ${LETSENCRYPT_DOMAIN} ]; then | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		
		Reference in a new issue