forked from sthope/battery2mqtt
		
	Update README.md
This commit is contained in:
		@@ -8,16 +8,16 @@ I thought of this project when I switched to using my old laptop as my Home Assi
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
# Instructions
 | 
					# Instructions
 | 
				
			||||||
 | 
					
 | 
				
			||||||
**Option 1: Pull from Docker Hub**
 | 
					**Option 1: Manual build**
 | 
				
			||||||
`docker pull tediore/battery2mqtt:latest` (https://hub.docker.com/r/tediore/battery2mqtt)
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
**Option 2: Manual build**
 | 
					 | 
				
			||||||
1. Clone repo: `git clone https://github.com/Tediore/battery2mqtt`
 | 
					1. Clone repo: `git clone https://github.com/Tediore/battery2mqtt`
 | 
				
			||||||
2. Enter directory: `cd battery2mqtt`
 | 
					2. Enter directory: `cd battery2mqtt`
 | 
				
			||||||
3. Build image: `docker build . -t battery2mqtt`
 | 
					3. Build image: `docker build . -t battery2mqtt`
 | 
				
			||||||
4. Customize `docker-compose.yaml` to fit your needs
 | 
					4. Customize `docker-compose.yaml` to fit your needs
 | 
				
			||||||
5. `docker-compose up -d`
 | 
					5. `docker-compose up -d`
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					**Option 2: Docker Hub*
 | 
				
			||||||
 | 
					1. Follow steps 4 and 5 above using `tediore/battery2mqtt:latest` as the image.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
Example compose file with all possible environmental variables listed:
 | 
					Example compose file with all possible environmental variables listed:
 | 
				
			||||||
```yaml
 | 
					```yaml
 | 
				
			||||||
version: '3'
 | 
					version: '3'
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user