Adjustements to packages and README
parent
07d239c2c4
commit
040d60fbec
|
@ -1,6 +1,6 @@
|
|||
FROM phusion/baseimage:0.11
|
||||
|
||||
RUN apt-get update && apt-get install -y git sudo iptables iproute2 iputils-ping
|
||||
RUN apt-get update && apt-get install -y sudo iproute2 iputils-ping
|
||||
|
||||
RUN echo '* libraries/restart-without-asking boolean true' | sudo debconf-set-selections
|
||||
|
||||
|
|
|
@ -83,9 +83,9 @@ Create docker image:
|
|||
* docker build -t tuya:latest .
|
||||
|
||||
Setup docker-compose:
|
||||
* take a look at docker-compose.sample.yml and create a similar docker-compose.yml in a separate folder
|
||||
* adjust the volume folder to your needs
|
||||
* create a .env file and put variables for AP, WLAN and GATEWAY in it (it should look like config.txt)
|
||||
* you may adjust docker/docker-compose.sample.yml, if necessary:
|
||||
* environment-variables may be different, for example network-adapter may be different from wlan0
|
||||
* adjust the volume folder, where you want your backups stored
|
||||
|
||||
Run the image:
|
||||
* docker-compose up -d
|
||||
|
|
|
@ -5,8 +5,8 @@ services:
|
|||
privileged: true
|
||||
network_mode: "host"
|
||||
environment:
|
||||
- WLAN=${WLAN}
|
||||
- AP=${AP}
|
||||
- GATEWAY=${GATEWAY}
|
||||
- WLAN=wlan0
|
||||
- AP=vtrust-flash
|
||||
- GATEWAY=10.42.42.1
|
||||
volumes:
|
||||
- ./data/backups:/usr/bin/tuya-convert/backups
|
Loading…
Reference in New Issue