Initial commit
This commit is contained in:
		
						commit
						9f447c03bf
					
				
							
								
								
									
										19
									
								
								Dockerfile
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										19
									
								
								Dockerfile
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,19 @@ | |||||||
|  | FROM alpine:latest | ||||||
|  | EXPOSE 64738 64738/udp | ||||||
|  | 
 | ||||||
|  | ENV CONFIG_PATH=/data/config.ini | ||||||
|  | 
 | ||||||
|  | RUN adduser -DHs /sbin/nologin mumble | ||||||
|  | 
 | ||||||
|  | RUN apk update && apk add murmur | ||||||
|  | 
 | ||||||
|  | RUN mkdir -pv /opt/mumble | ||||||
|  | COPY files/run.sh /opt/mumble/run.sh | ||||||
|  | RUN chmod +x /opt/mumble/run.sh | ||||||
|  | 
 | ||||||
|  | RUN mkdir -pv /data | ||||||
|  | RUN chown mumble /data | ||||||
|  | COPY files/config.ini /data/config.ini | ||||||
|  | 
 | ||||||
|  | USER mumble | ||||||
|  | CMD ["/opt/mumble/run.sh"] | ||||||
							
								
								
									
										14
									
								
								files/config.ini
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										14
									
								
								files/config.ini
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,14 @@ | |||||||
|  | # Murmur configuration file. | ||||||
|  | # See https://wiki.mumble.info/wiki/Murmur.ini for more options | ||||||
|  | 
 | ||||||
|  | # Path to database. If blank, will search for | ||||||
|  | # murmur.sqlite in default locations or create it if not found. | ||||||
|  | database=/data/murmur.sqlite | ||||||
|  | 
 | ||||||
|  | ; If Murmur is started as root, which user should it switch to? | ||||||
|  | ; This option is ignored if Murmur isn't started with root privileges. | ||||||
|  | uname=mumble | ||||||
|  | 
 | ||||||
|  | ; If enabled, clients are sent information about the servers version and operating | ||||||
|  | ; system. | ||||||
|  | sendversion=False | ||||||
							
								
								
									
										3
									
								
								files/run.sh
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										3
									
								
								files/run.sh
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,3 @@ | |||||||
|  | #!/usr/bin/env sh | ||||||
|  | 
 | ||||||
|  | exec murmurd -fg -ini ${CONFIG_PATH} | ||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 root
						root