Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
jobily
IoTSharp
提交
94340855
I
IoTSharp
项目概览
jobily
/
IoTSharp
通知
3
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
I
IoTSharp
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
94340855
编写于
3月 13, 2023
作者:
麦壳饼
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
删掉了不该合并的代码。
上级
1a9786a5
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
64 addition
and
62 deletion
+64
-62
Deployments/rabbit_mongo_influx/docker-compose.yml
Deployments/rabbit_mongo_influx/docker-compose.yml
+59
-59
Deployments/rabbit_mongo_influx/mongodb-init.sh
Deployments/rabbit_mongo_influx/mongodb-init.sh
+3
-3
Deployments/rabbit_mongo_influx/upgrade.sh
Deployments/rabbit_mongo_influx/upgrade.sh
+2
-0
未找到文件。
Deployments/rabbit_mongo_influx/docker-compose.yml
浏览文件 @
94340855
...
...
@@ -17,58 +17,58 @@ services:
-
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
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
#
- mongodb1
#
- mongodb2
#
- mongodb3
#
- rabbitmq
#
- influx
#
links:
#
- pgsql
#
- mongodb1
#
- mongodb2
#
- mongodb3
#
- rabbitmq
#
- influx
#
volumes:
#
- "./appsettings.Production.json:/app/appsettings.Production.json"
#
ports:
#
- 2927:80
#
- 1883:1883
#
- 8883:8883
#
- 5683:5683
#
- 5684:5684
#
- 502:502
#
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
-
mongodb1
-
mongodb2
-
mongodb3
-
rabbitmq
-
influx
links
:
-
pgsql
-
mongodb1
-
mongodb2
-
mongodb3
-
rabbitmq
-
influx
volumes
:
-
"
./appsettings.Production.json:/app/appsettings.Production.json"
ports
:
-
2927:80
-
1883:1883
-
8883:8883
-
5683:5683
-
5684:5684
-
502:502
networks
:
-
iotsharp-network
...
...
@@ -159,14 +159,14 @@ services:
networks
:
-
iotsharp-network
#
influxdb_cli:
#
links:
#
- influx
#
image: quay.io/influxdb/influxdb:v2.0.4
#
entrypoint: influx setup --bucket iotsharp-bucket -t iotsharp-token -o iotsharp --username=root --password=1-q2-w3-e4-r5-t --host=http://influx:8086 -f
#
restart: on-failure:20
#
depends_on:
#
- influx
influxdb_cli
:
links
:
-
influx
image
:
quay.io/influxdb/influxdb:v2.0.4
entrypoint
:
influx setup --bucket iotsharp-bucket -t iotsharp-token -o iotsharp --username=root --password=1-q2-w3-e4-r5-t --host=http://influx:8086 -f
restart
:
on-failure:20
depends_on
:
-
influx
...
...
Deployments/rabbit_mongo_influx/mongodb-init.sh
浏览文件 @
94340855
...
...
@@ -7,17 +7,17 @@ var config = {
"members": [
{
"_id": 1,
"host": "
host.docker.internal
:27017",
"host": "
mongodb1
:27017",
"priority": 3
},
{
"_id": 2,
"host": "
host.docker.internal:27018
",
"host": "
mongodb2:27017
",
"priority": 2
},
{
"_id": 3,
"host": "
host.docker.internal:27019
",
"host": "
mongodb3:27017
",
"priority": 1
}
]
...
...
Deployments/rabbit_mongo_influx/upgrade.sh
浏览文件 @
94340855
docker-compose pull
docker-compose up
-d
sleep
20
docker
exec
mongodb1 /bin/sh /scripts/mongodb-init.sh
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录