Files
psa_car_controller/docs/Docker.md
T
2021-09-01 17:55:44 +02:00

21 lines
698 B
Markdown

# Docker installation
A containerised version of the psa_car_controller Python scripts by Flobz.
- Docker Hub: https://hub.docker.com/r/flobz/psa_car_controller
### Overview
Once the container is running, the configuration of the psa_car_controller app is near-identical to setup instructions detailed in the app's readme.
### Installation
Create the container, detached, exposing port 5000, and mapping the a new config folder on your host to /config inside the container:
```
docker run -d -ti --name psa_car_controller1 \
--publish 5000:5000 \
-v /host_path/config:/config \
--restart unless-stopped \
flobz/psa_car_controller
```
Go to http://127.0.0.1:5000 and follow instruction