forked from Cliffbreak/tsviewer
		
	Merge branch 'master' of https://git.cliffbreak.de/Cliffbreak/tsviewer
ENV vars to uppercase
This commit is contained in:
		
						commit
						5527744c43
					
				
					 2 changed files with 20 additions and 1 deletions
				
			
		| 
						 | 
					@ -17,5 +17,5 @@ RUN go get; exit 0
 | 
				
			||||||
WORKDIR $GOPATH/src/git.cliffbreak.de/Cliffbreak/tsviewer
 | 
					WORKDIR $GOPATH/src/git.cliffbreak.de/Cliffbreak/tsviewer
 | 
				
			||||||
COPY config.json .
 | 
					COPY config.json .
 | 
				
			||||||
RUN go build 
 | 
					RUN go build 
 | 
				
			||||||
EXPOSE 8080
 | 
					
 | 
				
			||||||
CMD ["./tsviewer"]  
 | 
					CMD ["./tsviewer"]  
 | 
				
			||||||
							
								
								
									
										19
									
								
								README.md
									
										
									
									
									
								
							
							
						
						
									
										19
									
								
								README.md
									
										
									
									
									
								
							| 
						 | 
					@ -2,6 +2,25 @@
 | 
				
			||||||
 | 
					
 | 
				
			||||||
A TS3 Viewer with REST API.
 | 
					A TS3 Viewer with REST API.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					## DOCKER-Config
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					```bash
 | 
				
			||||||
 | 
					docker build -t name/cont:ver .
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					docker run -e ts3_ip="ts_ip", ts3_pw="quarry_pw", web_port="port" -d -p 8080:8080 name/cont:ver
 | 
				
			||||||
 | 
					```
 | 
				
			||||||
 | 
					ENV:
 | 
				
			||||||
 | 
					```Docker
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					ENV ts3_ip=0.0.0.0
 | 
				
			||||||
 | 
					ENV ts3_name=serveradmin
 | 
				
			||||||
 | 
					ENV ts3_pw=f3gWdOU3
 | 
				
			||||||
 | 
					ENV ts3_port=9987
 | 
				
			||||||
 | 
					ENV ts3_query=10011
 | 
				
			||||||
 | 
					ENV web_port=8080
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					```
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Features
 | 
					# Features
 | 
				
			||||||
 | 
					
 | 
				
			||||||
## Config
 | 
					## Config
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		
		Reference in a new issue