Skip to content

Instantly share code, notes, and snippets.

@deltacodepl
Forked from x99percent/docker-compose.yaml
Created April 6, 2025 10:12
Show Gist options
  • Select an option

  • Save deltacodepl/e73c390052aa2e4f09f36f33932a60c3 to your computer and use it in GitHub Desktop.

Select an option

Save deltacodepl/e73c390052aa2e4f09f36f33932a60c3 to your computer and use it in GitHub Desktop.

Revisions

  1. @x99percent x99percent revised this gist Feb 20, 2019. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion docker-compose.yaml
    Original file line number Diff line number Diff line change
    @@ -32,7 +32,7 @@ services:

    homeassistant:
    container_name: homeassistant
    image: homeassistant/raspberrypi3-homeassistant:0.81.6
    image: homeassistant/raspberrypi3-homeassistant:0.87.1
    network_mode: "host"
    volumes:
    - /opt/homeassistant:/config
  2. @x99percent x99percent revised this gist Nov 25, 2018. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions docker-compose.yaml
    Original file line number Diff line number Diff line change
    @@ -9,6 +9,7 @@ services:
    volumes:
    - /opt/grafana:/etc/grafana:rw
    - /opt/grafana:/var/lib/grafana:rw
    - /etc/timezone:/etc/timezone:ro
    restart: on-failure
    depends_on:
    influxdb:
  3. @x99percent x99percent revised this gist Nov 25, 2018. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion docker-compose.yaml
    Original file line number Diff line number Diff line change
    @@ -2,7 +2,7 @@ version: '2.1'
    services:
    grafana:
    container_name: grafana
    image: raymondmm/grafana
    image: proxx/grafana-armv7
    user: "1000"
    ports:
    - 3000:3000
  4. @x99percent x99percent revised this gist Nov 5, 2018. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion docker-compose.yaml
    Original file line number Diff line number Diff line change
    @@ -31,7 +31,7 @@ services:

    homeassistant:
    container_name: homeassistant
    image: homeassistant/raspberrypi3-homeassistant:0.79.3
    image: homeassistant/raspberrypi3-homeassistant:0.81.6
    network_mode: "host"
    volumes:
    - /opt/homeassistant:/config
  5. @x99percent x99percent revised this gist Oct 30, 2018. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion docker-compose.yaml
    Original file line number Diff line number Diff line change
    @@ -77,7 +77,7 @@ services:

    mosquitto:
    container_name: mosquitto
    image: robotany/mosquitto-rpi
    image: eclipse-mosquitto
    user: "1000:1000"
    ports:
    - 1883:1883
  6. @x99percent x99percent revised this gist Oct 13, 2018. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion docker-compose.yaml
    Original file line number Diff line number Diff line change
    @@ -31,7 +31,7 @@ services:

    homeassistant:
    container_name: homeassistant
    image: homeassistant/raspberrypi3-homeassistant:0.66.1
    image: homeassistant/raspberrypi3-homeassistant:0.79.3
    network_mode: "host"
    volumes:
    - /opt/homeassistant:/config
  7. @x99percent x99percent revised this gist Sep 18, 2018. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions docker-compose.yaml
    Original file line number Diff line number Diff line change
    @@ -3,6 +3,7 @@ services:
    grafana:
    container_name: grafana
    image: raymondmm/grafana
    user: "1000"
    ports:
    - 3000:3000
    volumes:
  8. @x99percent x99percent revised this gist Jul 23, 2018. 1 changed file with 3 additions and 3 deletions.
    6 changes: 3 additions & 3 deletions docker-compose.yaml
    Original file line number Diff line number Diff line change
    @@ -2,7 +2,7 @@ version: '2.1'
    services:
    grafana:
    container_name: grafana
    image: fg2it/grafana-armhf:v5.0.4
    image: raymondmm/grafana
    ports:
    - 3000:3000
    volumes:
    @@ -60,7 +60,7 @@ services:
    - /opt/node-red:/data
    - /etc/localtime:/etc/localtime:ro
    - /etc/timezone:/etc/timezone:ro
    restart: on-failure
    restart: "no" # because the exit code(s) are wrong
    depends_on:
    mosquitto:
    condition: service_started
    @@ -108,7 +108,7 @@ services:
    volumes:
    - /opt/portainer:/data:rw
    - /var/run/docker.sock:/var/run/docker.sock
    restart: on-failure
    restart: "no" # because the exit code(s) are wrong

    organizr:
    container_name: organizr
  9. @x99percent x99percent revised this gist Apr 12, 2018. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion docker-compose.yaml
    Original file line number Diff line number Diff line change
    @@ -49,7 +49,7 @@ services:
    test: ["CMD", "curl", "-f", "http://127.0.0.1:8123"]
    interval: 30s
    timeout: 10s
    retries: 5
    retries: 6

    node-red:
    container_name: node-red
  10. @x99percent x99percent created this gist Apr 10, 2018.
    140 changes: 140 additions & 0 deletions docker-compose.yaml
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,140 @@
    version: '2.1'
    services:
    grafana:
    container_name: grafana
    image: fg2it/grafana-armhf:v5.0.4
    ports:
    - 3000:3000
    volumes:
    - /opt/grafana:/etc/grafana:rw
    - /opt/grafana:/var/lib/grafana:rw
    restart: on-failure
    depends_on:
    influxdb:
    condition: service_healthy

    influxdb:
    container_name: influxdb
    image: influxdb
    ports:
    - 8086:8086
    volumes:
    - /opt/influxdb/influxdb.conf:/etc/influxdb/influxdb.conf:ro
    - /opt/influxdb:/var/lib/influxdb
    restart: on-failure
    healthcheck:
    test: ["CMD", "curl", "-sI", "http://127.0.0.1:8086/ping"]
    interval: 30s
    timeout: 1s
    retries: 24

    homeassistant:
    container_name: homeassistant
    image: homeassistant/raspberrypi3-homeassistant:0.66.1
    network_mode: "host"
    volumes:
    - /opt/homeassistant:/config
    - /etc/localtime:/etc/localtime:ro
    - /etc/letsencrypt:/etc/letsencrypt:ro
    devices:
    - /dev/ttyUSB0:/dev/ttyUSB0:rwm
    - /dev/ttyUSB1:/dev/ttyUSB1:rwm
    restart: on-failure
    depends_on:
    influxdb:
    condition: service_healthy
    mosquitto:
    condition: service_started
    healthcheck:
    test: ["CMD", "curl", "-f", "http://127.0.0.1:8123"]
    interval: 30s
    timeout: 10s
    retries: 5

    node-red:
    container_name: node-red
    image: nodered/node-red-docker:rpi-v8
    ports:
    - 1880:1880
    volumes:
    - /opt/node-red:/data
    - /etc/localtime:/etc/localtime:ro
    - /etc/timezone:/etc/timezone:ro
    restart: on-failure
    depends_on:
    mosquitto:
    condition: service_started
    mqtt-bridge:
    condition: service_started
    homeassistant:
    condition: service_healthy
    healthcheck:
    test: ["CMD", "curl", "-f", "http://127.0.0.1:1880"]
    interval: 30s
    timeout: 10s
    retries: 5

    mosquitto:
    container_name: mosquitto
    image: robotany/mosquitto-rpi
    user: "1000:1000"
    ports:
    - 1883:1883
    volumes:
    - /etc/localtime:/etc/localtime:ro
    - /opt/mosquitto:/mosquitto/config:ro
    - /opt/mosquitto:/mosquitto/data
    restart: on-failure

    mqtt-bridge:
    container_name: mqtt-bridge
    build:
    context: https://github.com/stjohnjohnson/smartthings-mqtt-bridge.git
    dockerfile: Dockerfile-rpi
    ports:
    - 8080:8080
    volumes:
    - /opt/mqtt-bridge:/config
    restart: on-failure
    depends_on:
    homeassistant:
    condition: service_healthy

    portainer:
    container_name: portainer
    image: portainer/portainer
    ports:
    - 9000:9000
    volumes:
    - /opt/portainer:/data:rw
    - /var/run/docker.sock:/var/run/docker.sock
    restart: on-failure

    organizr:
    container_name: organizr
    image: lsioarmhf/organizr
    ports:
    - 80:80
    - 443:443
    volumes:
    - /opt/organizr:/config:rw
    - /etc/letsencrypt:/etc/letsencrypt:ro
    environment:
    - PGID=1000
    - PUID=1000
    restart: on-failure
    healthcheck:
    test: ["CMD", "curl", "-f", "http://127.0.0.1"]
    interval: 30s
    timeout: 10s
    retries: 5

    dockermon:
    container_name: dockermon
    image: tribunex/ha-dockermon-pi
    ports:
    - 8126:8126
    volumes:
    - /var/run/docker.sock:/var/run/docker.sock
    - /opt/dockermon:/config
    restart: on-failure