代码拉取完成,页面将自动刷新
同步操作将从 张红元/iot-dc3 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
version: '3'
networks:
iot-dc3-network:
ipam:
config:
- subnet: 172.20.0.100/200
gateway: 172.20.0.1
services:
# 配置 docker compose
dc3-mariadb:
build:
context: ./dc3/dependences/mariadb/
dockerfile: ./Dockerfile
image: pnoker/dc3-mariadb:3.0
restart: always
networks:
iot-dc3-network:
- ipv4_address: 172.20.0.100
ports:
- 3306:3306
container_name: dc3-mariadb
hostname: iotdc3.mariadb
dc3-redis:
build:
context: ./dc3/dependences/redis/
dockerfile: ./Dockerfile
image: pnoker/dc3-redis:3.0
restart: always
networks:
iot-dc3-network:
- ipv4_address: 172.20.0.101
ports:
- 6379:6379
container_name: dc3-redis
hostname: iotdc3.redis
dc3-rabbitmq:
build:
context: ./dc3/dependences/rabbitmq/
dockerfile: ./Dockerfile
image: pnoker/dc3-rabbitmq:3.0
restart: always
networks:
iot-dc3-network:
- ipv4_address: 172.20.0.102
ports:
- 5672:5672
container_name: dc3-rabbitmq
hostname: iotdc3.rabbitmq
dc3-gateway:
build:
context: ./dc3-gateway/
dockerfile: ./Dockerfile
image: pnoker/dc3-gateway:3.0
restart: always
networks:
iot-dc3-network:
- ipv4_address: 172.20.0.103
ports:
- 8000:8000
links:
- dc3-register:iotdc3.register
- dc3-dbs:iotdc3.dbs
container_name: dc3-gateway
hostname: iotdc3.gateway
dc3-register:
build:
context: ./dc3-center/dc3-register/
dockerfile: ./Dockerfile
image: pnoker/dc3-register:3.0
restart: always
networks:
iot-dc3-network:
- ipv4_address: 172.20.0.104
ports:
- 8100:8100
container_name: dc3-register
hostname: iotdc3.register
dc3-monitor:
build:
context: ./dc3-center/dc3-monitor/
dockerfile: ./Dockerfile
image: pnoker/dc3-monitor:3.0
restart: always
networks:
iot-dc3-network:
- ipv4_address: 172.20.0.105
ports:
- 8200:8200
links:
- dc3-register:iotdc3.register
container_name: dc3-monitor
hostname: iotdc3.monitor
dc3-dbs:
build:
context: ./dc3-center/dc3-dbs/
dockerfile: ./Dockerfile
image: pnoker/dc3-dbs:3.0
restart: always
networks:
iot-dc3-network:
- ipv4_address: 172.20.0.106
ports:
- 8300:8300
links:
- dc3-register:iotdc3.register
- dc3-mariadb:iotdc3.mariadb
- dc3-redis:iotdc3.redis
container_name: dc3-dbs
hostname: iotdc3.dbs
dc3-collect:
build:
context: ./dc3-center/dc3-collect/
dockerfile: ./Dockerfile
image: pnoker/dc3-collect:3.0
restart: always
networks:
iot-dc3-network:
- ipv4_address: 172.20.0.107
ports:
- 8500:8500
links:
- dc3-register:iotdc3.register
container_name: dc3-collect
hostname: iotdc3.collect
dc3-manager:
build:
context: ./dc3-device/dc3-manager/
dockerfile: ./Dockerfile
image: pnoker/dc3-manager:3.0
restart: always
networks:
iot-dc3-network:
- ipv4_address: 172.20.0.108
ports:
- 8600:8600
links:
- dc3-register:iotdc3.register
container_name: dc3-manager
hostname: iotdc3.manager
dc3-group:
build:
context: ./dc3-device/dc3-group/
dockerfile: ./Dockerfile
image: pnoker/dc3-group:3.0
restart: always
networks:
iot-dc3-network:
- ipv4_address: 172.20.0.109
ports:
- 8700:8700
links:
- dc3-register:iotdc3.register
container_name: dc3-group
hostname: iotdc3.group
dc3-opc:
build:
context: ./dc3-transfer/dc3-opc/
dockerfile: ./Dockerfile
image: pnoker/dc3-opc:3.0
restart: always
networks:
iot-dc3-network:
- ipv4_address: 172.20.0.110
ports:
- 8810:8810
links:
- dc3-register:iotdc3.register
container_name: dc3-opc
hostname: iotdc3.opc
dc3-opc-ua:
build:
context: ./dc3-transfer/dc3-opc-ua/
dockerfile: ./Dockerfile
image: pnoker/dc3-opc-ua:3.0
restart: always
networks:
iot-dc3-network:
- ipv4_address: 172.20.0.111
ports:
- 8820:8820
links:
- dc3-register:iotdc3.register
container_name: dc3-opc-ua
hostname: iotdc3.opcua
dc3-rtmp:
build:
context: ./dc3-transfer/dc3-rtmp/
dockerfile: ./Dockerfile
image: pnoker/dc3-rtmp:3.0
restart: always
networks:
iot-dc3-network:
- ipv4_address: 172.20.0.112
ports:
- 8830:8830
links:
- dc3-register:iotdc3.register
- dc3-dbs:iotdc3.dbs
container_name: dc3-rtmp
hostname: iotdc3.rtmp
dc3-resource:
build:
context: ./dc3-transfer/dc3-resource/
dockerfile: ./Dockerfile
image: pnoker/dc3-resource:3.0
restart: always
networks:
iot-dc3-network:
- ipv4_address: 172.20.0.113
ports:
- 8840:8840
links:
- dc3-register:iotdc3.register
container_name: dc3-resource
hostname: iotdc3.resource
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。