1 Star 0 Fork 242

SesameTechGroup / IoTSharp

forked from dotNET China / IoTSharp 
加入 Gitee
与超过 600 万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
docker-compose.yml 1.14 KB
一键复制 编辑 Web IDE 原始数据 按行查看 历史
version: '3.4'
services:
pgsql:
image: postgres
container_name: pgsql
restart: always
volumes:
- /var/iotsharp/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:
- "/etc/iotsharp/servers.json:/pgadmin4/servers.json"
depends_on:
- pgsql
links:
- pgsql
environment:
TZ: "Asia/Shanghai"
PGADMIN_DEFAULT_EMAIL: "root@iotsharp.io"
PGADMIN_DEFAULT_PASSWORD: "1-q2-w3-e4-r5-t"
networks:
- iotsharp-network
iotsharp:
image: ${DOCKER_REGISTRY-}iotsharp
depends_on:
- pgsql
links:
- pgsql
volumes:
- "/etc/iotsharp/appsettings.Production.json:/app/appsettings.Production.json"
ports:
- 80:8080
networks:
- iotsharp-network
build:
context: .
dockerfile: IoTSharp/Dockerfile
networks:
iotsharp-network:
driver: bridge

评论 ( 0 )

你可以在登录后,发表评论

C#
1
https://gitee.com/sesametechgroup/IoTSharp.git
git@gitee.com:sesametechgroup/IoTSharp.git
sesametechgroup
IoTSharp
IoTSharp
master

搜索帮助