start dockerization
This commit is contained in:
		
							parent
							
								
									bfb550e5a6
								
							
						
					
					
						commit
						8b1b64bd87
					
				
							
								
								
									
										10
									
								
								Dockerfile
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										10
									
								
								Dockerfile
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,10 @@ | |||||||
|  | FROM alpine:latest | ||||||
|  | EXPOSE 25565 25564 | ||||||
|  | RUN mkdir /opt/mrproxy | ||||||
|  | RUN mkdir /etc/mrproxy | ||||||
|  | COPY Cargo.toml /opt/mrproxy | ||||||
|  | COPY src /opt/mrproxy/src | ||||||
|  | COPY config/* /etc/mrproxy | ||||||
|  | WORKDIR /opt/mrproxy | ||||||
|  | RUN apk add cargo | ||||||
|  | RUN cargo run --release | ||||||
							
								
								
									
										8
									
								
								config/mrprox.conf
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										8
									
								
								config/mrprox.conf
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,8 @@ | |||||||
|  | ip: '0.0.0.0' | ||||||
|  | port: '25565' | ||||||
|  | conf:  | ||||||
|  |  #Can be TCP or UNIX | ||||||
|  |  sock_type: 'TCP' | ||||||
|  |  #path: '/home/roche/portmrproxy' | ||||||
|  |  port: '25564' | ||||||
|  |  ip: '127.0.0.1' | ||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user