34 lines
802 B
YAML
34 lines
802 B
YAML
|
services:
|
||
|
alpine1:
|
||
|
image: redis:alpine
|
||
|
addons:
|
||
|
bindings:
|
||
|
commands: [ls]
|
||
|
alpine2:
|
||
|
image: redis:alpine
|
||
|
addons:
|
||
|
bindings:
|
||
|
commands: [ls]
|
||
|
debian:
|
||
|
image: debian:latest
|
||
|
addons:
|
||
|
bindings:
|
||
|
commands: [ls]
|
||
|
openhab:
|
||
|
image: openhab/openhab:latest
|
||
|
restart: always
|
||
|
network_mode: host
|
||
|
volumes:
|
||
|
- "/etc/localtime:/etc/localtime:ro"
|
||
|
- "/etc/timezone:/etc/timezone:ro"
|
||
|
- "./openhab_addons:/openhab/addons"
|
||
|
- "./openhab_conf:/openhab/conf"
|
||
|
- "./openhab_userdata:/openhab/userdata"
|
||
|
environment:
|
||
|
CRYPTO_POLICY: "unlimited"
|
||
|
EXTRA_JAVA_OPTS: "-Duser.timezone=Europe/Berlin"
|
||
|
OPENHAB_HTTP_PORT: "8080"
|
||
|
OPENHAB_HTTPS_PORT: "8443"
|
||
|
addons:
|
||
|
bindings:
|
||
|
commands: [ls]
|