add distribution selection
1 parent 85a5273 commit e3f0f4cee86e86be064e579a2000ddfaaece2968
@Pascal Gollor Pascal Gollor authored on 14 Jul 2019
Showing 2 changed files
View
2
■■■
docker-compose.yml
version: '2.2'
 
services:
main-openhab:
image: openhab/openhab:2.3.0-${OPENHAB_ARCH:-amd64}-debian
image: openhab/openhab:latest-${OPENHAB_ARCH:-amd64}-${OPENHAB_DIST:-debian}
mem_limit: ${OPENHAB_MEMORY_LIMIT:-2g}
restart: always
tty: true
logging:
View
4
openhab.conf.example
# system architecture
# amd64, armhf, arm64
# look at https://hub.docker.com/r/openhab/openhab/ for more details
OPENHAB_ARCH=amd64
 
# distribution
# debian or alpine
OPENHAB_DIST=debian
 
# user configuration
# http://docs.openhab.org/installation/docker.html
# please add user like UID:GID