Skip to content

Commit

Permalink
created multiple containers config for different usecases
Browse files Browse the repository at this point in the history
  • Loading branch information
fcusson committed Nov 7, 2024
1 parent 2c1f6ae commit 10ace77
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
services:
homeassistant:
container_name: homeassistant
container_name: homeassistant-beta
image: ghcr.io/home-assistant/home-assistant:beta
privileged: true
network_mode: host
Expand Down
11 changes: 11 additions & 0 deletions container/docker-compose.dev.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
services:
homeassistant:
container_name: homeassistant-beta
image: ghcr.io/home-assistant/home-assistant:dev
privileged: true
network_mode: host
environment:
PYTHONPATH: /config/deps/
volumes:
- ../custom_components/spotcast:/config/custom_components/spotcast
- ../config/:/config/:z
11 changes: 11 additions & 0 deletions container/docker-compose.stable.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
services:
homeassistant:
container_name: homeassistant-beta
image: ghcr.io/home-assistant/home-assistant:stable
privileged: true
network_mode: host
environment:
PYTHONPATH: /config/deps/
volumes:
- ../custom_components/spotcast:/config/custom_components/spotcast
- ../config/:/config/:z

2 comments on commit 10ace77

@Turac0
Copy link

@Turac0 Turac0 commented on 10ace77 Nov 7, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@fcusson In container/docker-compose.stable.yaml seems like 'container_name' is wrong? Just a heads up :)

@fcusson
Copy link
Collaborator Author

@fcusson fcusson commented on 10ace77 Nov 7, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good catch, at least, that's only for development setup and I always drop and rebuild containers accross builds, but I'm going to change that

Please sign in to comment.