Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,15 @@ services:
BASE_URL: http://localhost:3000/api/v1/
TABLE_PAGE_SIZE: 20

#OS2IoT
os2iot-lorawanSimulator:
image: "os2iot-lorawan_simulator"
build:
context: "./simulator"
dockerfile: "Dockerfile"
ports:
- "8768:8000"

os2iot-backend:
image: "os2iot-backend"
build:
Expand Down
19 changes: 19 additions & 0 deletions simulator/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
FROM ubuntu

RUN apt-get update && apt-get install make

RUN apt-get update && apt-get install git -y

ARG DEBIAN_FRONTEND=noninteractive

RUN apt-get update && apt-get install golang -y

RUN apt-get install ca-certificates -y

RUN git clone https://github.com/UniCT-ARSLab/LWN-Simulator.git

WORKDIR /LWN-Simulator

RUN make install-dep

CMD make run
8 changes: 8 additions & 0 deletions simulator/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
services:
os2iot-lorawanSimulator:
image: "os2iot-lorawan_simulator"
build:
context: "./"
dockerfile: "Dockerfile"
ports:
- "8768:8000"