-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
executable file
·91 lines (91 loc) · 2.51 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
84
85
86
87
88
89
90
91
version: '3'
services:
androidlink:
image: edgesolution/androiddm-javaenv:v1.2
restart: always
depends_on:
- mqtt
- db
volumes:
- ./java-env/vnctoken:/root/adv/vnctoken
- ./java-env/license:/root/adv/license
- ./java-env/logs:/root/logs
- ./java-env/solutionAppIcon:/root/adv/solutionAppIcon
- /sys:/sys
ports:
- "8080:8080"
command: /root/adv/run.sh
container_name: m2mserver
links:
- "mqtt"
- "db"
networks:
- advnet
environment:
- TZ=Asia/Shanghai
mqtt:
image: edgesolution/androiddm-mosquitto:v1.0
restart: always
ports:
- "1883:1883"
- "11880:11880"
container_name: m2m_mosquitto
networks:
- advnet
db:
image: postgres:9.4
restart: always
environment:
POSTGRES_PASSWORD: postgres
POSTGRES_DB: aimlink
ports:
- "5432:5432"
container_name: m2m-postgresSQL
networks:
- advnet
astore:
image: edgesolution/astore:v1.2
restart: always
depends_on:
- db
volumes:
- ./astore/logs:/root/adv/logs
- ./astore/upload:/var/www/html/DEPLOYREPO
ports:
- "30001:30019"
- "30002:80"
command: /root/adv/run.sh
container_name: aimlink_astore
links:
- "db"
networks:
- advnet
environment:
- TZ=Asia/Shanghai
novnc:
image: edgesolution/androiddm-novnc:v1.0
restart: always
volumes:
- ./java-env/vnctoken/:/root/adv/vnctoken/
- ./noVnc/log/:/root/adv/log
ports:
- "9191:9191"
- "5901:5901"
- "5500:5500"
command: /root/adv/run.sh
container_name: m2m-novnc
networks:
- advnet
dockerui:
image: portainer/portainer
restart: always
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- ./portainer_data:/data
ports:
- "8000:8000"
- "9000:9000"
container_name: portainer
networks:
advnet:
driver: bridge