-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
40 lines (40 loc) · 1.16 KB
/
docker-compose.yml
File metadata and controls
40 lines (40 loc) · 1.16 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
version: '3'
services:
#################################################
homeassistant:
container_name: homeassistant
restart: unless-stopped
image: homeassistant/raspberrypi4-64-homeassistant:2023.4.6 # Must be full version on this image for some reason, not just year.month
network_mode: host
environment:
- TZ=Europe/Oslo
volumes:
- /home/minus/homeassistant_config:/config
#################################################
obd:
container_name: obd
restart: unless-stopped
network_mode: host
devices:
- '/dev/ttyUSB0:/dev/obd'
environment:
- TZ=Europe/Oslo
build:
context: ./obd
dockerfile: Dockerfile
env_file:
- secrets.env
#################################################
code-server:
container_name: code-server
restart: unless-stopped
image: lscr.io/linuxserver/code-server
network_mode: host
environment:
- PUID=1000
- PGID=1000
- TZ=Europe/Oslo
- DEFAULT_WORKSPACE=/dockervolumes
volumes:
- '/home/minus/homeassistant_config:/dockervolumes/homeassistant_config'
#################################################