From 14e2a2329e11cc2610a919fd5cb527f738ad5d03 Mon Sep 17 00:00:00 2001 From: Andrey Egorov <and7643@gmail.com> Date: Mon, 22 Jul 2024 19:20:12 +0300 Subject: [PATCH] Added docker compose. --- docker-compose.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 docker-compose.yml 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