changed Readme
This commit is contained in:
@@ -3,7 +3,7 @@
|
|||||||
This is a flask website to display Images from Webcams and timelaps, dependen on a .yaml config.
|
This is a flask website to display Images from Webcams and timelaps, dependen on a .yaml config.
|
||||||
|
|
||||||
|
|
||||||
## Sample cameras.yaml
|
## Sample data/cameras.yaml
|
||||||
```yaml
|
```yaml
|
||||||
- name: "Dummy" # name of camera
|
- name: "Dummy" # name of camera
|
||||||
url: "" # camera-image url
|
url: "" # camera-image url
|
||||||
@@ -33,9 +33,11 @@ services:
|
|||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
- ./cam/logs:/logs:rw
|
- ./data/logs:/logs:rw
|
||||||
- ./cam/output:/static/output:ro
|
- ./data/config:/config:ro
|
||||||
|
- ./data/output:/static/output:ro
|
||||||
- /etc/localtime:/etc/localtime:ro
|
- /etc/localtime:/etc/localtime:ro
|
||||||
|
|
||||||
environment:
|
environment:
|
||||||
- TZ="Europe/Berlin"
|
- TZ="Europe/Berlin"
|
||||||
|
|
||||||
@@ -63,10 +65,11 @@ services:
|
|||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
- ./cam/timelapse:/archive:rw
|
- ./data/timelapse:/archive:rw
|
||||||
- ./cam/output:/output:rw
|
- ./data/output:/output:rw
|
||||||
- ./cam/config:/config:ro
|
- ./data/config:/config:ro
|
||||||
- /etc/localtime:/etc/localtime:ro
|
- /etc/localtime:/etc/localtime:ro
|
||||||
|
|
||||||
command: python app.py
|
command: python app.py
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
|
|||||||
Reference in New Issue
Block a user