forked from IoTSharp/IoTSharp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
75 lines (70 loc) · 1.48 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
version: '3.4'
services:
pgsql:
image: postgres
restart: always
ports:
- 5432:5432
volumes:
- ./data/postgresql:/var/lib/postgresql/data
environment:
TZ: "Asia/Shanghai"
POSTGRES_USER: postgres
POSTGRES_DB: IoTSharp
POSTGRES_PASSWORD: future
networks:
- iotsharp-network
pgadmin:
image: dpage/pgadmin4
container_name: pgadmin
restart: always
volumes:
- "./data/servers.json:/pgadmin4/servers.json"
depends_on:
- pgsql
links:
- pgsql
ports:
- 8090:80
environment:
TZ: "Asia/Shanghai"
PGADMIN_DEFAULT_EMAIL: "[email protected]"
PGADMIN_DEFAULT_PASSWORD: "1-q2-w3-e4-r5-t"
networks:
- iotsharp-network
iotsharp:
image: maikebing/iotsharp
restart: always
environment:
ASPNETCORE_ENVIRONMENT: Production
TZ: Asia/Shanghai
depends_on:
- pgsql
- taos
links:
- pgsql
- taos
volumes:
- "./appsettings.Development.json:/app/appsettings.Production.json"
- ./data/security:/app/security
ports:
- 2929:8888
- 1883:1883
- 8883:8883
- 5683:5683
- 5684:5684
- 502:502
networks:
- iotsharp-network
taos:
image: tdengine/tdengine:3.0.4.2
restart: always
ports:
- 6041:6041
volumes:
- ./data/taos:/var/lib/taos/
networks:
- iotsharp-network
networks:
iotsharp-network:
driver: bridge