Skip to content

Commit ecb4e0d

Browse files
authored
chore: Update docker-compose.yml
1 parent 900e340 commit ecb4e0d

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

examples/home-assistant/docker-compose.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,11 @@ services:
1212
volumes:
1313
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/homeassistant/config:/config
1414
#ports:
15-
# - 8123:8123 # optional of host network is used
15+
# - 8123:8123 # optional if host network is used
1616
#devices:
17-
# - /path/to/device:/path/to/device #optional
17+
# - /path/to/device:/path/to/device #optional
18+
deploy:
19+
resources:
20+
limits:
21+
cpus: '0.5'
22+
memory: 500M

0 commit comments

Comments
 (0)