Added docker compose.

This commit is contained in:
Andrey Egorov 2024-07-22 19:20:12 +03:00
parent 38a47bfb20
commit 14e2a2329e

17
docker-compose.yml Normal file
View 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