mirror of
				https://github.com/PurpleI2P/i2pd.git
				synced 2025-11-04 08:30:46 +00:00 
			
		
		
		
	Docker: Move DEFAULT_ARGS to Dockerfile .
This commit is contained in:
		
							parent
							
								
									fc2dc9a019
								
							
						
					
					
						commit
						31f0c35077
					
				
					 2 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -11,6 +11,7 @@ ENV REPO_URL=${REPO_URL}
 | 
			
		|||
 | 
			
		||||
ENV I2PD_HOME="/home/i2pd"
 | 
			
		||||
ENV DATA_DIR="${I2PD_HOME}/data"
 | 
			
		||||
ENV DEFAULT_ARGS=" --datadir=$DATA_DIR --reseed.verify=true --upnp.enabled=false --http.enabled=true --http.address=0.0.0.0 --httpproxy.enabled=true --httpproxy.address=0.0.0.0 --socksproxy.enabled=true --socksproxy.address=0.0.0.0 --sam.enabled=true --sam.address=0.0.0.0"
 | 
			
		||||
 | 
			
		||||
RUN mkdir -p "$I2PD_HOME" "$DATA_DIR" \
 | 
			
		||||
    && adduser -S -h "$I2PD_HOME" i2pd \
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -2,7 +2,6 @@
 | 
			
		|||
COMMAND=/usr/local/bin/i2pd
 | 
			
		||||
# To make ports exposeable
 | 
			
		||||
# Note: $DATA_DIR is defined in /etc/profile
 | 
			
		||||
DEFAULT_ARGS=" --datadir=$DATA_DIR --reseed.verify=true --upnp.enabled=false --http.enabled=true --http.address=0.0.0.0 --httpproxy.enabled=true --httpproxy.address=0.0.0.0 --socksproxy.enabled=true --socksproxy.address=0.0.0.0 --sam.enabled=true --sam.address=0.0.0.0"
 | 
			
		||||
 | 
			
		||||
if [ "$1" = "--help" ]; then
 | 
			
		||||
    set -- $COMMAND --help
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue