- Add docker_restart & docker_sbs scripts.

This commit is contained in:
2026-02-28 07:12:51 +01:00
parent 76d58b74a2
commit 3b9b07fdf3
4 changed files with 47 additions and 2 deletions

View File

@@ -7,10 +7,10 @@ This project aims to give some basic tools to be used by other Rx3 docker packag
Features:
- docker_tools_install & docker_mk_dir to setup a new application environment,
- docker_mk_env command to compile env file into .env file,
- docker_start, docker_stop & docker_logs command,
- docker_start, docker_stop , docker_restart & docker_logs command,
- docker_network_up & docker_network_down automatically called to setup external network rule & route,
- docker_service_add env file function,
- docker_build_push,
- docker_build_push & docker_sbs (Stop / Build / Start),
Support different mounted volume modes:
- Single,
@@ -19,6 +19,7 @@ Support different mounted volume modes:
- Splited (Default).
Enjoy it!
Your Docker Tools Team.

View File

@@ -1,3 +1,11 @@
------------------------------------------------------------------------------------------------------------------------------------
Rx3-Docker/Docker Tools V 1.4.1 - A. GIBERT - 2026/02/28
------------------------------------------------------------------------------------------------------------------------------------
- Add docker_restart & docker_sbs scripts.
------------------------------------------------------------------------------------------------------------------------------------
Rx3-Docker/Docker Tools V 1.4.0 - A. GIBERT - 2025/08/06
------------------------------------------------------------------------------------------------------------------------------------

17
sbin/docker_restart Executable file
View File

@@ -0,0 +1,17 @@
#!/bin/bash
#-------------------------------------------------------------------------------
set -o errexit
APPL_HOME_DIR="$(dirname "$(dirname "$0")")"
#-------------------------------------------------------------------------------
cd ${APPL_HOME_DIR}
sbin/docker_stop
sbin/docker_start

19
sbin/docker_sbs Executable file
View File

@@ -0,0 +1,19 @@
#!/bin/bash
#-------------------------------------------------------------------------------
set -o errexit
APPL_HOME_DIR="$(dirname "$(dirname "$0")")"
#-------------------------------------------------------------------------------
cd ${APPL_HOME_DIR}
sbin/docker_stop
sbin/docker_build_push
sbin/docker_start