Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow setting specific HA/Frigate versions in devcontainer #289

Merged
merged 2 commits into from
Jun 19, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .devcontainer/config/configuration.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,9 @@ homeassistant:
- type: homeassistant

demo:

panel_iframe:
frigate:
title: "Frigate"
url: "http://localhost:45000"
icon: "mdi:cctv"
4 changes: 4 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Set in '.env' in order to run specific versions of HA & Frigate.
#
# HA_VERSION=stable
# FRIGATE_VERSION=stable-amd64
6 changes: 3 additions & 3 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
version: '3'
version: "3"
services:
dev:
user: vscode
Expand All @@ -9,7 +9,7 @@ services:
- .:/workspace:cached
command: [sleep, infinity]
hass:
image: homeassistant/home-assistant:stable
image: "homeassistant/home-assistant:${HA_VERSION:-stable}"
restart: unless-stopped
ports:
- 48123:8123
Expand All @@ -22,7 +22,7 @@ services:
- ./custom_components:/config/custom_components:ro
frigate:
privileged: true
image: blakeblackshear/frigate:stable-amd64
image: "blakeblackshear/frigate:${FRIGATE_VERSION:-stable-amd64}"
restart: unless-stopped
devices:
- /dev/bus/usb:/dev/bus/usb
Expand Down