-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
83 lines (69 loc) · 3.13 KB
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
version: "3.9"
services:
app:
build: .
image: actility/tpxle-nit:0.0.1
container_name: tpxle_nit_app
# volumes:
working_dir: /opt/tpxle-nit/src
environment:
# REDIS CONFIG
NIT__REDIS_HOST: "redis"
NIT__REDIS_PORT: "6379"
# MQTT BROKER CONFIG
NIT__MQTT_ENABLED: "False"
# NIT__BROKER_URL: "mqtt://localhost:1883"
# NIT__CA_CERT_LOCATION: "/etc/vernemq/certs/ca.crt"
# NIT__MQTT_SUPER_USER: "super"
# NIT__MQTT_SUPER_PASSWD: ""
NIT__ID: "nanothings"
NIT__SERVER_PORT: "8081"
NIT__LOG_LEVEL: "debug"
# error | warn | info | http | verbose | debug | silly
NIT__VALID_REALMS: "abeeway-mobile-app,dev1,le-lab,rnd"
NIT__DEFAULT_REALM: "dev1"
# abeeway-mobile-app
# Ecosystem_TPXLE with Ecosystem_Keycloak
NIT__ABEEWAYMOBILEAPP_SWAGGER_UI: "https://abeeway-mobile-app-eco.thingpark.com/admin/latest/swagger-ui/index.html?shortUrl=tpdx-admin-api-contract.json"
NIT__ABEEWAYMOBILEAPP_FEED_URL: "https://abeeway-mobile-app-eco.thingpark.com/location/latest/api/feeds"
NIT__ABEEWAYMOBILEAPP_TOKEN_REQUEST_URL: "https://abeeway-mobile-app-eco.thingpark.com/auth"
NIT__ABEEWAYMOBILEAPP_REALM: "abeeway-mobile-app"
NIT__ABEEWAYMOBILEAPP_GRANT_TYPE: "password"
NIT__ABEEWAYMOBILEAPP_SCOPE: "openid"
NIT__ABEEWAYMOBILEAPP_CLIENT_ID: "tpx-le-nit"
# dev1
# Ecosystem_TPXLE with Ecosystem_DxAdminAPI
NIT__DEV1_SWAGGER_UI: "https://dx-api.thingpark.io/admin/latest/swagger-ui/index.html?shortUrl=tpdx-admin-api-contract.json"
NIT__DEV1_FEED_URL: "https://dx-api.thingpark.io/location/latest/api/feeds"
NIT__DEV1_TOKEN_REQUEST_URL: "https://dx-api.thingpark.io/admin/latest/api/oauth/token"
NIT__DEV1_REALM: "dev1"
NIT__DEV1_GRANT_TYPE: "client_credentials"
# le-lab
# R&D_TPXLE with R&D_Keycloak
NIT__LELAB_SWAGGER_UI: "https://le-lab.preview.thingpark.com/admin/latest/swagger-ui/index.html?shortUrl=tpdx-admin-api-contract.json"
NIT__LELAB_FEED_URL: "https://le-lab.preview.thingpark.com/location/latest/api/feeds"
NIT__LELAB_TOKEN_REQUEST_URL: "https://le-lab.preview.thingpark.com/auth"
NIT__LELAB_REALM: "le-lab"
NIT__LELAB_GRANT_TYPE: "password"
NIT__LELAB_SCOPE: "openid"
NIT__LELAB_CLIENT_ID: "tpx-le-nit"
# rnd
# R&D_TPXLE with R&D_DxAdminAPI
NIT__RND_SWAGGER_UI: "https://dx-api.preview.thingpark.com/admin/latest/swagger-ui/index.html?shortUrl=tpdx-admin-api-contract.json"
NIT__RND_FEED_URL: "https://dx-api.preview.thingpark.com/location/latest/api/feeds"
NIT__RND_TOKEN_REQUEST_URL: "https://dx-api.preview.thingpark.com/admin/latest/api/oauth/token"
NIT__RND_REALM: "rnd"
NIT__RND_GRANT_TYPE: "client_credentials"
#### FOR DEVELOPMENT ####
# entrypoint: ["tail"]
# command: ["-f","/dev/null"]
#########################
ports:
- 8081:8081
redis:
image: redis:alpine
container_name: tpxle_nit_redis
# volumes:
# - ./redis-data:/data
# ports:
# - 6379:6379