Advertisement
JLindvig

docker-compose.yaml

Oct 30th, 2019
334
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 1.36 KB | None | 0 0
  1. version: '2.1'
  2. services:
  3.   homeassistant:
  4.     container_name: homeassistant
  5.     image: homeassistant/raspberrypi3-homeassistant:latest
  6.     network_mode: "host"
  7.     volumes:
  8.      - /opt/homeassistant:/config
  9.       - /etc/localtime:/etc/localtime:ro
  10.       - /etc/letsencrypt:/etc/letsencrypt:ro
  11.     restart: on-failure
  12.     healthcheck:
  13.       test: ["CMD", "curl", "-f", "http://127.0.0.1:8123"]
  14.       interval: 30s
  15.       timeout: 10s
  16.       retries: 6
  17.  
  18.   portainer:
  19.     container_name: portainer
  20.     image: portainer/portainer
  21.     ports:
  22.      - 9000:9000
  23.     volumes:
  24.      - /opt/portainer:/data:rw
  25.       - /var/run/docker.sock:/var/run/docker.sock
  26.     restart: "no" # because the exit code(s) are wrong
  27.  
  28.   organizr:
  29.     container_name: organizr
  30.     image: lsioarmhf/organizr
  31.     ports:
  32.      - 80:80
  33.       - 443:443
  34.     volumes:
  35.      - /opt/organizr:/config:rw
  36.       - /etc/letsencrypt:/etc/letsencrypt:ro
  37.     environment:
  38.      - PGID=1000
  39.       - PUID=1000
  40.     restart: on-failure
  41.     healthcheck:
  42.       test: ["CMD", "curl", "-f", "http://127.0.0.1"]
  43.       interval: 30s
  44.       timeout: 10s
  45.       retries: 5
  46.  
  47.   dockermon:
  48.     container_name: dockermon
  49.     image: tribunex/ha-dockermon-pi
  50.     ports:
  51.      - 8126:8126
  52.     volumes:
  53.      - /var/run/docker.sock:/var/run/docker.sock
  54.       - /opt/dockermon:/config
  55.     restart: on-failure
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement