Added docker compose.
This commit is contained in:
parent
38a47bfb20
commit
14e2a2329e
17
docker-compose.yml
Normal file
17
docker-compose.yml
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
version: "3.4"
|
||||||
|
|
||||||
|
services:
|
||||||
|
modem-test:
|
||||||
|
container_name: modem-test
|
||||||
|
privileged: true
|
||||||
|
build:
|
||||||
|
context: ./
|
||||||
|
dockerfile: ./Dockerfile
|
||||||
|
network_mode: host
|
||||||
|
volumes:
|
||||||
|
- /etc/timezone:/etc/timezone:ro
|
||||||
|
- /etc/localtime:/etc/localtime:ro
|
||||||
|
devices:
|
||||||
|
- /dev/i2c-1
|
||||||
|
- /dev/ttyS0
|
||||||
|
restart: unless-stopped
|
Loading…
Reference in New Issue
Block a user