Added files
This commit is contained in:
1 parent
fb69f06561
commit
7d0a7435d7
8 files changed
+428
No files matched your search
@@ -0,0 +1,63 @@
|
||||
services:
|
||||
rabbitmq:
|
||||
container_name: broadcast-rabbitmq
|
||||
image: rabbitmq:3.12.6
|
||||
restart: unless-stopped
|
||||
healthcheck:
|
||||
test: rabbitmq-diagnostics -q ping
|
||||
interval: 30s
|
||||
retries: 3
|
||||
timeout: 10s
|
||||
start_period: 30s
|
||||
start_interval: 5s
|
||||
volumes:
|
||||
- type: bind
|
||||
source: /etc/localtime
|
||||
target: /etc/localtime
|
||||
read_only: true
|
||||
ports:
|
||||
- 5672:5672
|
||||
bedroom-speaker-player:
|
||||
container_name: broadcast-bedroom-speaker-player
|
||||
image: broadcast-player:latest
|
||||
restart: unless-stopped
|
||||
depends_on:
|
||||
rabbitmq:
|
||||
condition: service_healthy
|
||||
command: ['google_home', 'bedroom_speaker']
|
||||
environment:
|
||||
RABBITMQ_HOST: localhost
|
||||
RABBITMQ_PORT: 5672
|
||||
RABBITMQ_TOPICS: 'notification.*.ashish.*,call.*.ashish,alarm.*.ashish'
|
||||
GOOGLE_HOME_NAME: Bedroom speaker
|
||||
HTTP_IP: 192.168.0.10
|
||||
HTTP_PORT: 24984
|
||||
volumes:
|
||||
- type: volume
|
||||
source: bedroom-speaker-audio
|
||||
target: /mnt/audio
|
||||
- type: bind
|
||||
source: /etc/localtime
|
||||
target: /etc/localtime
|
||||
read_only: true
|
||||
network_mode: host
|
||||
nginx:
|
||||
container_name: broadcast-nginx
|
||||
image: nginx:1.25.2
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- type: volume
|
||||
source: bedroom-speaker-audio
|
||||
target: /usr/share/nginx/html
|
||||
read_only: true
|
||||
- type: bind
|
||||
source: /etc/localtime
|
||||
target: /etc/localtime
|
||||
read_only: true
|
||||
ports:
|
||||
- 192.168.0.10:24984:80
|
||||
|
||||
volumes:
|
||||
bedroom-speaker-audio:
|
||||
name: broadcast-bedroom-speaker-audio
|
||||
external: true
|
||||
Reference in new issue
Block a user