Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- version: '3.4'
- services:
- homeassistant:
- container_name: homeassistant
- user: "1000:1000"
- ports:
- - "8123:8123"
- - "5353:5353" # for mDNS service discovery
- - "1900:1900" # for upnp service discovery
- image: homeassistant/home-assistant:latest
- depends_on:
- - mqtt
- - postgres
- environment:
- POSTGRES_USER: ${POSTGRES_USER}
- volumes:
- - ./config:/config
- - /etc/localtime:/etc/localtime:ro
- appdaemon:
- container_name: appdaemon
- user: "1000:1000"
- image: acockburn/appdaemon:latest
- depends_on:
- - homeassistant
- volumes:
- - ./appdaemon_config:/conf:ro
- - /etc/localtime:/etc/localtime:ro
- entrypoint:
- - appdaemon
- - -c
- - /conf
- # command: [ "-s", "2018-12-25 08:14:00", "-i", "30" ]
- mqtt:
- container_name: MQTT
- restart: unless-stopped
- image: eclipse-mosquitto
- volumes:
- - ./mosquitto_config:/mosquitto/config:ro
- - mosquitto_persistence_database:/mosquitto/data
- - /etc/localtime:/etc/localtime:ro
- ports:
- - "1883:1883"
- - "8883:8883"
- - "9001:9001"
- postgres:
- image: "postgres:11-alpine"
- user: "1000:1000"
- volumes:
- - "./postgres_db:/var/lib/postgresql/data"
- - "/etc/passwd:/etc/passwd:ro"
- environment:
- POSTGRES_USER: ${POSTGRES_USER}
- POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
- POSTGRES_DB: ${POSTGRES_DB}
- restart: always
- expose:
- - "5432"
- rhasspy:
- image: "synesthesiam/rhasspy-server:amd64"
- restart: unless-stopped
- container_name: rhasspy-server
- environment:
- RHASSPY_PROFILES: "/profiles"
- volumes:
- - "./rhasspy_config:/profiles"
- ports:
- - "12101:12101"
- devices:
- - "/dev/snd:/dev/snd"
- depends_on:
- - homeassistant
- volumes:
- mosquitto_persistence_database:
- postgres_db:
- networks:
- default:
- ipam:
- driver: default
- config:
- - subnet: 172.18.0.0/16
Add Comment
Please, Sign In to add comment