-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yml
38 lines (38 loc) · 1.03 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
version: '3'
services:
backend:
image: intaniger/smartfarm_backend:2.4.6-release
# image: intaniger/smartfarm_backend:2.4.2-release
environment:
- MQTT_ADDRESS=tcp://172.17.0.1:1883
# - GIN_MODE=debug
# command: ["sh","-c","go run main.go & go run ./service/main.go"]
ports:
- "3335:3000"
links:
- mongodb
- iot_service_pack
# websocket:
# image: intaniger/smartfarm_backend_websocket:0.1-release
auto_pilot:
image: intaniger/smartfarm_backend_auto_pilot:1.3.4-release
environment:
- MQTT_ADDRESS=tcp://161.200.80.206:1883
volumes:
- "/etc/timezone:/etc/timezone:ro"
- "/etc/localtime:/etc/localtime:ro"
# - ./service:/go/src/github.com/rod41732/cu-smart-farm-backend/service
# command: ["go", "run", "main.go"]
mongodb:
image: mongo
volumes:
- "./mongodb:/data/db"
ports:
- "27017:27017"
iot_service_pack:
image: "intaniger/iot_server:1.1"
ports:
# - "1880:1880"
# - "1883:1883"
# - "8083:8083"
- "8090:8086"