Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- version: "3"
- services:
- portainer:
- container_name: portainer
- image: portainer/portainer
- volumes:
- - /docker/portainer:/data
- - /var/run/docker.sock:/var/run/docker.sock
- ports:
- - "9000:9000"
- unifi:
- container_name: unifi
- restart: unless-stopped
- image: linuxserver/unifi
- volumes:
- - /docker/unifi:/config
- environment:
- - PGID=0
- - PUID=0
- - ES_JAVA_OPTS="-Xms2g -Xmx2g"
- ports:
- - "8080:8080"
- - "8081:8081"
- - "8443:8443"
- - "8843:8843"
- - "8880:8880"
- - "3478:3478"
- mqtt:
- container_name: mqtt
- restart: unless-stopped
- image: eclipse-mosquitto
- volumes:
- - /docker/mqtt/config/mosquitto.conf:/mosquitto/config/mosquitto.conf
- - /docker/mqtt/log:/mosquitto/log
- - /docker/mqtt/data:/mosquitto/data
- - /etc/localtime:/etc/localtime:ro
- ports:
- - "1883:1883"
- - "9001:9001"
- hadockermon:
- container_name: ha-dockermon
- restart: unless-stopped
- image: philhawthorne/ha-dockermon
- volumes:
- - /docker/ha-dockermon:/config
- - /var/run/docker.sock:/var/run/docker.sock
- ports:
- - "8126:8126"
- hapostgres:
- container_name: ha-postgres
- restart: unless-stopped
- image: postgres:9.6
- volumes:
- - /docker/postgresql:/var/lib/postgresql/data
- - /etc/localtime:/etc/localtime:ro
- environment:
- - POSTGRES_USER="myusername"
- - POSTGRES_PASSWORD="mypassword"
- ports:
- - "5432:5432"
- nodered:
- container_name: node-red
- restart: unless-stopped
- image: nodered/node-red-docker
- depends_on:
- - "homeassistant"
- user: root
- volumes:
- - /docker/node-red/user:/data
- - /etc/localtime:/etc/localtime:ro
- ports:
- - "1880:1880"
- homeassistant:
- container_name: home-assistant
- restart: unless-stopped
- image: homeassistant/home-assistant
- depends_on:
- - "ha-postgres"
- - "unifi"
- volumes:
- - /docker/homeassistant/config:/config
- - /docker/homeassistant/media:/media
- - /etc/localtime:/etc/localtime:ro
- network_mode: host
- privileged: true
Add Comment
Please, Sign In to add comment