1 Star 0 Fork 767

fork集合/IoTSharp

forked from IoTSharp/IoTSharp 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
docker-compose.yml 2.99 KB
一键复制 编辑 原始数据 按行查看 历史
麦壳饼 提交于 2022-10-26 10:48 . 修改证书路径 便于容器映射
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
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C#
1
https://gitee.com/penn6699-fork/IoTSharp.git
git@gitee.com:penn6699-fork/IoTSharp.git
penn6699-fork
IoTSharp
IoTSharp
master

搜索帮助