1 Star 0 Fork 3.5K

Jussi_Lee/iot-dc3

forked from 张红元/iot-dc3 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
docker-compose.yml 5.63 KB
一键复制 编辑 原始数据 按行查看 历史
pnoker 提交于 2019-08-18 15:54 . 提交MongoDB配置
version: '3'
services:
dc3-base:
build:
context: ./dc3/dependences/base/
dockerfile: ./Dockerfile
image: pnoker/dc3-base:3.0
dc3-mariadb:
build:
context: ./dc3/dependences/mariadb/
dockerfile: ./Dockerfile
image: pnoker/dc3-mariadb:3.0
restart: always
ports:
- 3306:3306
container_name: dc3-mariadb
hostname: iotdc3.mariadb
networks:
network:
aliases:
- dc3-mariadb
dc3-mongo:
build:
context: ./dc3/dependences/mongo/
dockerfile: ./Dockerfile
image: pnoker/dc3-mongo:3.0
restart: always
ports:
- 27017:27017
container_name: dc3-mongo
hostname: iotdc3.mongo
networks:
network:
aliases:
- dc3-mongo
dc3-redis:
build:
context: ./dc3/dependences/redis/
dockerfile: ./Dockerfile
image: pnoker/dc3-redis:3.0
restart: always
ports:
- 6379:6379
container_name: dc3-redis
hostname: iotdc3.redis
networks:
network:
aliases:
- dc3-redis
dc3-rabbitmq:
build:
context: ./dc3/dependences/rabbitmq/
dockerfile: ./Dockerfile
image: pnoker/dc3-rabbitmq:3.0
restart: always
ports:
- 5672:5672
- 1883:1883
- 61613:61613
- 15672:15672
container_name: dc3-rabbitmq
hostname: iotdc3.rabbitmq
networks:
network:
aliases:
- dc3-rabbitmq
dc3-nginx:
build:
context: ./dc3/dependences/nginx/
dockerfile: ./Dockerfile
image: pnoker/dc3-nginx:3.0
restart: always
ports:
- 80:80
- 1935:1935
container_name: dc3-nginx
hostname: iotdc3.nginx
networks:
network:
aliases:
- dc3-nginx
dc3-gateway:
build:
context: ./dc3-gateway/
dockerfile: ./Dockerfile
image: pnoker/dc3-gateway:3.0
restart: always
ports:
- 8000:8000
links:
- dc3-register:iotdc3.register
- dc3-dbs:iotdc3.dbs
container_name: dc3-gateway
hostname: iotdc3.gateway
networks:
network:
aliases:
- dc3-gateway
dc3-register:
build:
context: ./dc3-center/dc3-register/
dockerfile: ./Dockerfile
image: pnoker/dc3-register:3.0
restart: always
ports:
- 8100:8100
container_name: dc3-register
hostname: iotdc3.register
networks:
network:
aliases:
- dc3-register
dc3-monitor:
build:
context: ./dc3-center/dc3-monitor/
dockerfile: ./Dockerfile
image: pnoker/dc3-monitor:3.0
restart: always
ports:
- 8200:8200
links:
- dc3-register:iotdc3.register
container_name: dc3-monitor
hostname: iotdc3.monitor
networks:
network:
aliases:
- dc3-monitor
dc3-dbs:
build:
context: ./dc3-center/dc3-dbs/
dockerfile: ./Dockerfile
image: pnoker/dc3-dbs:3.0
restart: always
ports:
- 8300:8300
links:
- dc3-register:iotdc3.register
- dc3-mariadb:iotdc3.mariadb
- dc3-redis:iotdc3.redis
container_name: dc3-dbs
hostname: iotdc3.dbs
networks:
network:
aliases:
- dc3-dbs
dc3-collect:
build:
context: ./dc3-center/dc3-collect/
dockerfile: ./Dockerfile
image: pnoker/dc3-collect:3.0
restart: always
ports:
- 8500:8500
links:
- dc3-register:iotdc3.register
container_name: dc3-collect
hostname: iotdc3.collect
networks:
network:
aliases:
- dc3-collect
dc3-manager:
build:
context: ./dc3-device/dc3-manager/
dockerfile: ./Dockerfile
image: pnoker/dc3-manager:3.0
restart: always
ports:
- 8600:8600
links:
- dc3-register:iotdc3.register
container_name: dc3-manager
hostname: iotdc3.manager
networks:
network:
aliases:
- dc3-manager
dc3-group:
build:
context: ./dc3-device/dc3-group/
dockerfile: ./Dockerfile
image: pnoker/dc3-group:3.0
restart: always
ports:
- 8700:8700
links:
- dc3-register:iotdc3.register
container_name: dc3-group
hostname: iotdc3.group
networks:
network:
aliases:
- dc3-group
dc3-opc:
build:
context: ./dc3-transfer/dc3-opc/
dockerfile: ./Dockerfile
image: pnoker/dc3-opc:3.0
restart: always
ports:
- 8810:8810
links:
- dc3-register:iotdc3.register
container_name: dc3-opc
hostname: iotdc3.opc
networks:
network:
aliases:
- dc3-opc
dc3-opc-ua:
build:
context: ./dc3-transfer/dc3-opc-ua/
dockerfile: ./Dockerfile
image: pnoker/dc3-opc-ua:3.0
restart: always
ports:
- 8820:8820
links:
- dc3-register:iotdc3.register
container_name: dc3-opc-ua
hostname: iotdc3.opcua
networks:
network:
aliases:
- dc3-opcua
dc3-rtmp:
build:
context: ./dc3-transfer/dc3-rtmp/
dockerfile: ./Dockerfile
image: pnoker/dc3-rtmp:3.0
restart: always
ports:
- 8830:8830
links:
- dc3-register:iotdc3.register
- dc3-dbs:iotdc3.dbs
container_name: dc3-rtmp
hostname: iotdc3.rtmp
networks:
network:
aliases:
- dc3-rtmp
dc3-resource:
build:
context: ./dc3-transfer/dc3-resource/
dockerfile: ./Dockerfile
image: pnoker/dc3-resource:3.0
restart: always
ports:
- 8840:8840
links:
- dc3-register:iotdc3.register
container_name: dc3-resource
hostname: iotdc3.resource
networks:
network:
aliases:
- dc3-resource
networks:
network:
driver: 'bridge'
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Java
1
https://gitee.com/lijiaxi118/iot-dc3.git
git@gitee.com:lijiaxi118/iot-dc3.git
lijiaxi118
iot-dc3
iot-dc3
master

搜索帮助