version: '3'
services:
- orchestra:
- restart: unless-stopped
- image: ezka77/xen-orchestra-ce
- container_name: XO_server
- ports:
- - "8081:8000"
- depends_on:
- - redis
- environment:
- - DEBUG=xo:main
- - NODE_ENV=production
- - XOA_PLAN=5
- # To enable XO superuser features (ex: NFS mount) on the host
- # uncomment the following lines, it will start XO as superuser
- # and enable the privileged capabilities for this container (access
- # host devices, ...) NB: it's a security issue, so be warned !
- #- USER=root
- TZ: "Europe/Rome"
- #privileged: true
- volumes:
- - xoa_data:/storage
- logging: &logging
- driver: "json-file"
- options:
- max-size: "1M"
- max-file: "2"
- redis:
- restart: unless-stopped
- container_name: XO_redis
- image: redis:alpine
- command: redis-server --appendonly yes
- volumes:
- - xoa_data:/data
- logging:
- <<: *logging
+ orchestra:
+ container_name: XO_server
+ image: ezka77/xen-orchestra-ce
+ restart: unless-stopped
+ ports:
+ - "8081:8000"
+ depends_on:
+ - redis
+ environment:
+ - DEBUG=xo:main
+ - NODE_ENV=production
+ - XOA_PLAN=5
+ # To enable XO superuser features (ex: NFS mount) on the host
+ # uncomment the following lines, it will start XO as superuser
+ # and enable the privileged capabilities for this container (access
+ # host devices, ...) NB: it's a security issue, so be warned !
+ #- USER=root
+ #privileged: true
+ volumes:
+ #- xoa_data:/storage
+ - ${DOCKER_CFG_DIR}/xoa_data:/storage
+# network_mode: bridge
+ logging: &logging
+ driver: "json-file"
+ options:
+ max-size: "1M"
+ max-file: "2"
-volumes:
- xoa_data:
- external: true
+ redis:
+ container_name: XO_redis
+ image: redis:alpine
+ command: redis-server --appendonly yes
+ restart: unless-stopped
+ volumes:
+ #- xoa_data:/data
+ - ${DOCKER_CFG_DIR}/xoa_data:/data
+# network_mode: bridge
+ logging:
+ <<: *logging
--- /dev/null
+version: '3'
+
+services:
+ zigbee2mqtt:
+ container_name: zigbee2mqtt
+ image: koenkk/zigbee2mqtt
+ restart: always
+ environment:
+ - TZ=${DOCKER_TZ}
+ privileged: true
+ volumes:
+ - ${DOCKER_CFG_DIR}/zigbee2mqtt:/app/data
+ - /run/udev:/run/udev:ro
+ devices:
+ - /dev/ttyACM0:/dev/ttyACM0
+ network_mode: host