-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
31 lines (31 loc) · 824 Bytes
/
docker-compose.yaml
File metadata and controls
31 lines (31 loc) · 824 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
services:
logger:
image: henfri/knx-lens:latest
container_name: knx_logger
command:
- python
- knx-lens-logger.py
# network_mode: "host"
volumes:
# Mountet lokale Verzeichnisse in den Container
- ${DOCKERCONFIG}/knx-lens/logs:/app/logs
- ${DOCKERCONFIG}/knx-lens/project:/app/project
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro
env_file:
- .env
restart: unless-stopped
web:
image: henfri/knx-lens:latest
container_name: knx_web
command:
- python
- knx-lens-web.py
network_mode: host
volumes:
# Lesezugriff auf die Logs
- ${DOCKERCONFIG}/knx-lens/logs:/app/logs:ro
- ${DOCKERCONFIG}/knx-lens/project:/app/project
env_file:
- .env
restart: unless-stopped