Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
C
changsheng-iot
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
CI / CD
CI / CD
Pipelines
Schedules
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
deploy
changsheng-iot
Commits
b602166f
Commit
b602166f
authored
Jan 10, 2023
by
吴文龙
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优化同步服务部署
parent
028c425c
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
11 additions
and
11 deletions
+11
-11
docker-compose.sync.yaml
docker-compose.sync.yaml
+6
-6
docker-remove-services.sh
docker-remove-services.sh
+1
-1
docker-start-services.sh
docker-start-services.sh
+1
-1
docker-stop-services.sh
docker-stop-services.sh
+1
-1
docker-update-service.sh
docker-update-service.sh
+2
-2
No files found.
docker-compose.sync.yaml
View file @
b602166f
version
:
'
3'
services
:
connect
:
restart
:
always
image
:
47.110.145.204:8084/huansiyl/debezium/connect:1.9.5.Final
ports
:
-
8083:8083
extra_hosts
:
-
"
postgres:162.242.195.82"
environment
:
-
BOOTSTRAP_SERVERS=121.199.175.235:31092
-
GROUP_ID=2
-
CONFIG_STORAGE_TOPIC=
xx
_connect_configs
-
OFFSET_STORAGE_TOPIC=
xx
_connect_offsets
-
STATUS_STORAGE_TOPIC=
xx
_connect_statuses
-
CONFIG_STORAGE_TOPIC=
${EDGE_VERSION}
_connect_configs
-
OFFSET_STORAGE_TOPIC=
${EDGE_VERSION}
_connect_offsets
-
STATUS_STORAGE_TOPIC=
${EDGE_VERSION}
_connect_statuses
sync
:
restart
:
always
image
:
47.110.145.204:8084/huansiyl/thingsboard/hs-data-syn:latest
expose
:
-
8080
environment
:
-
TB_KAFKA_SERVERS=121.199.175.235:31092
-
SPRING_CONSUMER_GROUP_ID=
xinxiang
-
SPRING_CONSUMER_GROUP_ID=
${EDGE_VERSION}
-
SPRING_CONSUMER_TOPIC_PRE=cloud
# - SPRING_CONSUMER_TOPIC_NAME=public.tb_user
-
SPRING_DATASOURCE_URL=jdbc:postgresql://postgres:5432/hsiotdb?stringtype=unspecified
\ No newline at end of file
docker-remove-services.sh
View file @
b602166f
...
...
@@ -25,4 +25,4 @@ ADDITIONAL_COMPOSE_ARGS=$(additionalComposeArgs) || exit $?
ADDITIONAL_COMPOSE_MONITORING_ARGS
=
$(
additionalComposeMonitoringArgs
)
||
exit
$?
docker-compose
-f
docker-compose.yml
$ADDITIONAL_COMPOSE_ARGS
$ADDITIONAL_COMPOSE_QUEUE_ARGS
$ADDITIONAL_COMPOSE_MONITORING_ARGS
down
-v
docker-compose
-f
docker-compose.yml
$ADDITIONAL_COMPOSE_ARGS
$ADDITIONAL_COMPOSE_QUEUE_ARGS
$ADDITIONAL_COMPOSE_MONITORING_ARGS
-f
docker-compose.sync.yaml
down
-v
docker-start-services.sh
View file @
b602166f
...
...
@@ -25,4 +25,4 @@ ADDITIONAL_COMPOSE_ARGS=$(additionalComposeArgs) || exit $?
ADDITIONAL_COMPOSE_MONITORING_ARGS
=
$(
additionalComposeMonitoringArgs
)
||
exit
$?
docker-compose
-f
docker-compose.yml
$ADDITIONAL_COMPOSE_ARGS
$ADDITIONAL_COMPOSE_QUEUE_ARGS
$ADDITIONAL_COMPOSE_MONITORING_ARGS
up
-d
docker-compose
-f
docker-compose.yml
$ADDITIONAL_COMPOSE_ARGS
$ADDITIONAL_COMPOSE_QUEUE_ARGS
$ADDITIONAL_COMPOSE_MONITORING_ARGS
-f
docker-compose.sync.yaml
up
-d
docker-stop-services.sh
View file @
b602166f
...
...
@@ -25,4 +25,4 @@ ADDITIONAL_COMPOSE_ARGS=$(additionalComposeArgs) || exit $?
ADDITIONAL_COMPOSE_MONITORING_ARGS
=
$(
additionalComposeMonitoringArgs
)
||
exit
$?
docker-compose
-f
docker-compose.yml
$ADDITIONAL_COMPOSE_ARGS
$ADDITIONAL_COMPOSE_QUEUE_ARGS
$ADDITIONAL_COMPOSE_MONITORING_ARGS
stop
docker-compose
-f
docker-compose.yml
$ADDITIONAL_COMPOSE_ARGS
$ADDITIONAL_COMPOSE_QUEUE_ARGS
$ADDITIONAL_COMPOSE_MONITORING_ARGS
-f
docker-compose.sync.yaml
stop
docker-update-service.sh
View file @
b602166f
...
...
@@ -23,5 +23,5 @@ ADDITIONAL_COMPOSE_QUEUE_ARGS=$(additionalComposeQueueArgs) || exit $?
ADDITIONAL_COMPOSE_ARGS
=
$(
additionalComposeArgs
)
||
exit
$?
docker-compose
-f
docker-compose.yml
$ADDITIONAL_COMPOSE_ARGS
$ADDITIONAL_COMPOSE_QUEUE_ARGS
pull
$@
docker-compose
-f
docker-compose.yml
$ADDITIONAL_COMPOSE_ARGS
$ADDITIONAL_COMPOSE_QUEUE_ARGS
up
-d
--no-deps
--build
$@
docker-compose
-f
docker-compose.yml
$ADDITIONAL_COMPOSE_ARGS
$ADDITIONAL_COMPOSE_QUEUE_ARGS
-f
docker-compose.sync.yaml
pull
$@
docker-compose
-f
docker-compose.yml
$ADDITIONAL_COMPOSE_ARGS
$ADDITIONAL_COMPOSE_QUEUE_ARGS
-f
docker-compose.sync.yaml
up
-d
--no-deps
--build
$@
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment