api-temperature:提供存储的温度数据的API

时间:2021-04-14 18:18:21
【文件属性】:
文件名称:api-temperature:提供存储的温度数据的API
文件大小:78KB
文件格式:ZIP
更新时间:2021-04-14 18:18:21
Go 介绍 该服务负责存储温度遥测,并通过API将其提供给消费者。 入门 在拥有共享容器注册表之前,要求您拉入ingress-trafikverket存储库,并使用Docker构建和标记ingress-trafikverket服务的映像。 还需要向Trafikverket注册API密钥。 然后,执行如下所示的docker-compose命令。 使用Docker构建和标记 docker build -f deployments/Dockerfile -t iot-for-tillgenglighet/api-temperature:latest . 使用Docker Compose构建本地测试 docker-compose -f ./deployments/docker-compose.yml build 使用Docker Compose在本地运行 首先将TFV_API_AUTH_KEY环境
【文件预览】:
api-temperature-master
----.dockerignore(30B)
----go.mod(702B)
----.gitattributes(394B)
----go.sum(24KB)
----.travis.yml(577B)
----internal()
--------pkg()
----LICENSE(34KB)
----test()
--------federation()
--------database()
----README.md(1KB)
----api()
--------graphql-spec()
----deployments()
--------Dockerfile(423B)
--------docker-compose.yml(2KB)
----.editorconfig(325B)
----.gitignore(47B)
----cmd()
--------api-temperature()

网友评论