Sign inSign up

bmoorman/garage

By bmoorman

•Updated 6 days ago

Garage [iVirus/Docker-Garage] on Alpine

Image
1

50K+

bmoorman/garage repository overview

⁠How to use this image

⁠Docker Run

docker run \
--detach \
--name memcached \
--restart unless-stopped \
memcached:alpine

docker run \
--detach \
--name garage \
--restart unless-stopped \
--link memcached \
--publish 8440:8440 \
--volume /sys:/sys \
--volume garage-config:/config \
bmoorman/garage:armhf-latest

⁠Docker Compose

version: "3.7"
services:
  memcached:
    image: memcached:alpine
    container_name: memcached
    restart: unless-stopped

  garage:
    image: bmoorman/garage:armhf-latest
    container_name: garage
    restart: unless-stopped
    depends_on:
      - memcached
    ports:
      - "8440:8440"
    volumes:
      - /sys:/sys
      - garage-config:/config

volumes:
  garage-config:

⁠Environment Variables

VariableDescriptionDefault
TZSets the timezoneAmerica/Denver
HTTPD_SERVERNAMESets the vhost servernamelocalhost
HTTPD_PORTSets the vhost port8440
HTTPD_SSLSet to anything other than SSL (e.g. NO_SSL) to disable SSLSSL
HTTPD_REDIRECTSet to anything other than REDIRECT (e.g. NO_REDIRECT) to disable SSL redirectREDIRECT
PUSHOVER_APP_TOKENUsed to retrieve sounds from the Pushover API<empty>
MEMCACHED_HOSTSets the Memcached hostmemcached
MEMCACHED_PORTSets the Memcached port11211
OPENER_PINSets the output pin which is attached to the garage door opener<empty>
SENSOR_PINSets the input pin to which the garage door sensor is attached<empty>
BUTTON_LENGTHSets the amount of time (in seconds) to hold OPENER_PIN down for1
LATITUDESets the latitude used to determine sunrise/sunsetdate.default_latitude (31.7667)
LONGITUDESets the logitude used to determine sunrise/sunsetdate.default_longitude (35.2333)
SUNRISE_ZENITHSets the sunrise zenith used to determine sunrisedate.sunrise_zenith (90.583333)
SUNSET_ZENITHSets the sunset zenith used to determine sunsetdate.sunset_zenith (90.583333)

Tag summary

Content type

Image

Digest

sha256:e40b8f112…

Size

21.3 MB

Last updated

6 days ago

docker pull bmoorman/garage