Skip to content

Instantly share code, notes, and snippets.

@luiseok
Created March 1, 2020 09:56
Show Gist options
  • Save luiseok/b1280fc3ddd90161d640735ad75f5523 to your computer and use it in GitHub Desktop.
Save luiseok/b1280fc3ddd90161d640735ad75f5523 to your computer and use it in GitHub Desktop.
ST SmartApps Connectors for Raspberry pi
version: "3"
services:
connector:
image: fison67/mi-connector-arm:latest
restart: always
ports:
- "30000:30000"
volumes:
- ./docker/mi-connector:/config
network_mode: host
tuya:
container_name: "tuya_connector"
image: fison67/ty-connector-rasp:0.0.2
restart: always
volumes:
- ./docker/tuya-connector:/config
- /etc/localtime:/etc/localtime:ro
ports:
- "30110:30110"
network_mode: host
mariadb:
container_name: "mariadb"
image: jsurf/rpi-mariadb
restart: always
volumes:
- ./docker/mariadb:/var/lib/mysql
environment:
- MYSQL_ROOT_PASSWORD=SetPasswordHere # <- change password for your security
- TZ=Asia/Seoul
ports:
- "13306:3306"
network_mode: host
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment