Updated Docker Compose configuration

This commit is contained in:
Ashish D'Souza 2023-11-11 03:45:54 -06:00
parent 2ca06e8cc6
commit 1640a7a590
1 changed files with 6 additions and 6 deletions

View File

@ -9,14 +9,14 @@ services:
retries: 3 retries: 3
timeout: 10s timeout: 10s
start_period: 30s start_period: 30s
start_interval: 5s #start_interval: 5s
volumes: volumes:
- type: bind - type: bind
source: /etc/localtime source: /etc/localtime
target: /etc/localtime target: /etc/localtime
read_only: true read_only: true
ports: ports:
- 5672:5672 - 10000:5672
bedroom-speaker-player: bedroom-speaker-player:
container_name: broadcast-bedroom-speaker-player container_name: broadcast-bedroom-speaker-player
image: broadcast-player:latest image: broadcast-player:latest
@ -27,11 +27,11 @@ services:
command: ['google_home', 'bedroom_speaker'] command: ['google_home', 'bedroom_speaker']
environment: environment:
RABBITMQ_HOST: localhost RABBITMQ_HOST: localhost
RABBITMQ_PORT: 5672 RABBITMQ_PORT: 10000
RABBITMQ_TOPICS: 'notification.*.ashish.*,call.*.ashish,alarm.*.ashish' RABBITMQ_TOPICS: 'notification.*.ashish.*,call.*.ashish,alarm.*.ashish'
GOOGLE_HOME_NAME: Bedroom speaker GOOGLE_HOME_NAME: Bedroom speaker
HTTP_IP: 192.168.0.10 HTTP_IP: ${SERVER_IP}
HTTP_PORT: 24984 HTTP_PORT: 10001
volumes: volumes:
- type: volume - type: volume
source: bedroom-speaker-audio source: bedroom-speaker-audio
@ -55,7 +55,7 @@ services:
target: /etc/localtime target: /etc/localtime
read_only: true read_only: true
ports: ports:
- 192.168.0.10:24984:80 - ${SERVER_IP}:10001:80
volumes: volumes:
bedroom-speaker-audio: bedroom-speaker-audio: