mirror of
https://github.com/flobz/psa_car_controller.git
synced 2026-08-22 09:26:16 +00:00
add docker-compose
This commit is contained in:
+8
-3
@@ -1,14 +1,19 @@
|
||||
# Docker installation
|
||||
|
||||
A containerised version of the psa_car_controller Python scripts by Flobz.
|
||||
A containerised version of the psa_car_controller.
|
||||
- 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.
|
||||
Once the container is running, the configuration of the psa_car_controller app is near-identical classic Linux/Windows installtion.
|
||||
|
||||
### Installation
|
||||
Create the container, detached, exposing port 5000, and mapping the a new config folder on your host to /config inside the container:
|
||||
Create the container, detached, exposing port 5000, and mapping config folder on your host to /config inside the container:
|
||||
|
||||
#### With docker-compose
|
||||
```
|
||||
docker-compose up -d
|
||||
```
|
||||
#### With Docker:
|
||||
```
|
||||
docker run -d -ti --name psa_car_controller1 \
|
||||
--publish 5000:5000 \
|
||||
|
||||
Reference in New Issue
Block a user