diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..22af931 --- /dev/null +++ b/docker-compose.yml @@ -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 \ No newline at end of file