-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
executable file
·59 lines (54 loc) · 1.26 KB
/
docker-compose.yml
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
version: '3'
services:
core:
restart: unless-stopped
build:
context: .
dockerfile: ./Dockerfile
environment:
- PYTHONPATH="/usr/local/lib/python3.11/dist-packages:/usr/lib/python3/dist-packages:/usr/lib/python3.11/dist-packages:$PYTHONPATH"
- CONFIG_PATH="./config/local.json"
privileged: true
volumes:
- .:/app
depends_on:
- postgres
networks:
- default
- telehooks_mq
logging:
options:
max-size: "1mb"
max-file: "3"
command: make run
# home_assistant:
# restart: unless-stopped
# container_name: homeassistant
# image: homeassistant/home-assistant:2023.10
# volumes:
# - ./home_assistant_config:/config
# - /etc/localtime:/etc/localtime:ro
# privileged: true
# ports:
# - "8123:8123"
postgres:
restart: always
image: postgres:14.1
volumes:
- ./postgres_data:/var/lib/postgresql/data
ports:
- "5432:5432"
env_file:
- config/db.env
zigbee_mq:
restart: always
image: eclipse-mosquitto:2.0.18
volumes:
- "./mosquitto-data:/mosquitto"
ports:
- "1883:1883"
- "9001:9001"
command: "mosquitto -c /mosquitto-no-auth.conf"
networks:
telehooks_mq:
external: true