加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
docker-compose.yml 1.48 KB
一键复制 编辑 原始数据 按行查看 历史
麦壳饼 提交于 2023-06-18 11:30 . 调优
version: '3.4'
services:
pgsql:
image: postgres
restart: always
ports:
- 5432:5432
volumes:
- ./data/postgresql:/var/lib/postgresql/data
environment:
TZ: "Asia/Shanghai"
POSTGRES_USER: postgres
POSTGRES_DB: IoTSharp
POSTGRES_PASSWORD: future
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
restart: always
environment:
ASPNETCORE_ENVIRONMENT: Production
TZ: Asia/Shanghai
depends_on:
- pgsql
- taos
links:
- pgsql
- taos
volumes:
- "./appsettings.Development.json:/app/appsettings.Production.json"
- ./data/security:/app/security
ports:
- 2929:8888
- 1883:1883
- 8883:8883
- 5683:5683
- 5684:5684
- 502:502
networks:
- iotsharp-network
taos:
image: tdengine/tdengine:3.0.4.2
restart: always
ports:
- 6041:6041
volumes:
- ./data/taos:/var/lib/taos/
networks:
- iotsharp-network
networks:
iotsharp-network:
driver: bridge
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化