-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
88 lines (83 loc) · 2.41 KB
/
docker-compose.yml
File metadata and controls
88 lines (83 loc) · 2.41 KB
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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
##
## ---------------------------------------------
## | H O M E A U T O M A T I O N - D O C K E R |
## ---------------------------------------------
##
## Container based media tools configuration
##
## -- DO NOT EDIT THIS FILE --
##
## Configuration items for this file are taken from the .env file
##
## Have docker-compose.yml and .env in the same directory to launch the stack
version: '3'
######################
# SERVICES TO LAUNCH #
######################
services:
# ----------------------------------------
# HOMEBRIDGE
# Home Automation
# ----------------------------------------
homebridge:
image: homebridge/homebridge:latest
container_name: homebridge
restart: unless-stopped
network_mode: host
logging:
driver: 'json-file'
options:
max-file: '${LOG_FILE_NUM}'
max-size: '${LOG_FILE_SIZE}'
environment:
- ENABLE_AVAHI=1
- HOMEBRIDGE_CONFIG_UI_PORT:${HOMEBRIDGE_UI_PORT}
- TZ=${TZ}
- PUID=${PUID}
- PGID=${PGID}
volumes:
- '${BASE_DOCKER_PATH}/homebridge:/homebridge'
- '/etc/localtime:/etc/localtime:ro'
# ----------------------------------------
# MATTERBRIDGE
# Home Automation
# ----------------------------------------
matterbridge:
image: luligu/matterbridge:latest
container_name: matterbridge
restart: unless-stopped
network_mode: host
logging:
driver: 'json-file'
options:
max-file: '${LOG_FILE_NUM}'
max-size: '${LOG_FILE_SIZE}'
environment:
- TZ=${TZ}
- PUID=${PUID}
- PGID=${PGID}
volumes:
- "${BASE_DOCKER_PATH}/matterbridge/plugins:/root/Matterbridge" # Mounts the Matterbridge plugin directory
- "${BASE_DOCKER_PATH}/matterbridge/config:/root/.matterbridge" # Mounts the Matterbridge storage directory
- '/etc/localtime:/etc/localtime:ro'
# ----------------------------------------
# SCRYPTED
# Home Automation
# ----------------------------------------
scrypted:
image: ghcr.io/koush/scrypted:latest
container_name: scrypted
restart: unless-stopped
network_mode: host
logging:
driver: 'json-file'
options:
max-file: '${LOG_FILE_NUM}'
max-size: '${LOG_FILE_SIZE}'
environment:
- TZ=${TZ}
- PUID=${PUID}
- PGID=${PGID}
volumes:
- '${BASE_DOCKER_PATH}/scrypted:/server/volume'
- '/etc/localtime:/etc/localtime:ro'