mirror of
https://github.com/nikdoof/aaisp2mqtt.git
synced 2025-12-22 15:19:29 +00:00
Switch to Python 3.8 Alpine image as base
This commit is contained in:
14
README.md
14
README.md
@@ -141,12 +141,24 @@ Build the Docker image with:
|
||||
docker build -t aaisp-mqtt .
|
||||
```
|
||||
|
||||
Run the container with a volume mounted config file:
|
||||
### Configuration ###
|
||||
|
||||
You have two options for passing the configuration to the container. Either you can run the container with a volume mounted config file:
|
||||
|
||||
```
|
||||
docker run -d -v <path_to_config>:/app/config.cfg --name AAISPmqtt aaisp-mqtt
|
||||
```
|
||||
|
||||
Or you can pass the configuration values as environment variables:
|
||||
|
||||
* AAISP_USERNAME
|
||||
* AAISP_PASSWORD
|
||||
* MQTT_BROKER
|
||||
* MQTT_PORT
|
||||
* MQTT_USERNAME
|
||||
* MQTT_PASSWORD
|
||||
* MQTT_TOPIC_PREFIX
|
||||
|
||||
## Setup ##
|
||||
|
||||
TODO
|
||||
|
||||
Reference in New Issue
Block a user