代码拉取完成,页面将自动刷新
同步操作将从 IoTSharp/IoTSharp 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
version: '3.4'
services:
pgsql:
image: postgres
container_name: pgsql
restart: always
volumes:
- "./data/postgresql:/var/lib/postgresql/data"
environment:
TZ: "Asia/Shanghai"
POSTGRES_USER: postgres
POSTGRES_DB: IoTSharp
POSTGRES_PASSWORD: future
ports:
- "5432:5432"
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: "root@iotsharp.io"
PGADMIN_DEFAULT_PASSWORD: "1-q2-w3-e4-r5-t"
networks:
- iotsharp-network
iotsharp:
image: maikebing/iotsharp:latest
restart: always
container_name: iotsharp
hostname: iotsharp
environment:
ASPNETCORE_ENVIRONMENT: Production
TZ: Asia/Shanghai
depends_on:
- pgsql
- mongodb
- rabbitmq
- influx
links:
- pgsql
- mongodb
- rabbitmq
- influx
volumes:
- "./appsettings.Development.json:/app/appsettings.Production.json"
- "./data/security:/app/security"
ports:
- 2927:80
- 1883:1883
- 8883:8883
- 5683:5683
- 5684:5684
- 502:502
networks:
- iotsharp-network
rabbitmq:
image: rabbitmq:management
container_name: rabbitmq
restart: always
hostname: mq
ports:
- 15672:15672
- 5672:5672
volumes:
- ./data/rabbitmq:/var/lib/rabbitmq
environment:
- TZ=Asia/Shanghai
- RABBITMQ_DEFAULT_USER=root
- RABBITMQ_DEFAULT_PASS=kissme
networks:
- iotsharp-network
mongodb:
image: mongo:latest
restart: always
container_name: mongodb
volumes:
- ./data/mongodb/db:/data/db
- ./data/mongodb/log:/var/log/mongodb
ports:
- 27017:27017
environment:
TZ: "Asia/Shanghai"
MONGO_INITDB_ROOT_USERNAME: root
MONGO_INITDB_ROOT_PASSWORD: kissme
networks:
- iotsharp-network
influx:
image: "quay.io/influxdb/influxdb:v2.0.4"
restart: always
container_name: influx
ports:
- "8086:8086"
environment:
TZ: "Asia/Shanghai"
volumes:
- ./data/influxdb-data:/var/lib/influxdb2
command: influxd run --bolt-path /var/lib/influxdb2/influxd.bolt --engine-path /var/lib/influxdb2/engine --store bolt
networks:
- iotsharp-network
#influxdb_cli:
# links:
# - influx
# image: quay.io/influxdb/influxdb:v2.0.4
# entrypoint: influx setup --bucket iotsharp-bucket -t koMHcRQ9PJVPIIb6zFyLt-06EkM_oy1jut08bH7f0BwC85LUO6zxgihKZUayHzyetapJEkxrlO0KwJ278dKpnA== -o iotsharp --username=root --password=1-q2-w3-e4-r5-t --host=http://influx:8086 -f
# restart: on-failure:20
# depends_on:
# - influx
networks:
iotsharp-network:
driver: bridge
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。