deployment_files

This commit is contained in:
risadmin_prod 2025-10-01 09:45:55 +00:00
parent b9becf05ca
commit bc8be16f29
5 changed files with 11 additions and 6 deletions

View File

@ -13,7 +13,7 @@ DOMAIN=157.66.191.31:3000
#WEB-URL-PORT
CONT_PORT=3306
TARGET_PORT=9292
PATH_DIR=/data/49445_1759311712376/sureops_deploy/calculator_app/sureops/calculator_app-calculator_app-b-b/deployment
PATH_DIR=/data/49445_1759311871609/sureops_deploy/calculator_app/sureops/calculator_app-calculator_app-b-b/deployment
#**********************
cd $PATH_DIR
DOCKER_TAG=1.0

View File

@ -12,7 +12,7 @@
ENV MYSQL_ROOT_PASSWORD root
COPY conf.d /etc/mysql/conf.d
COPY *.sql /docker-entrypoint-initdb.d/
#COPY --from=code /repo//data/49445_1759311712376/sureops_deploy/calculator_app/calculator_app-calculator_app-d-d/authsec_mysql/mysql/wf_table/backend/src/main/resources/ .
#COPY --from=code /repo//data/49445_1759311871609/sureops_deploy/calculator_app/calculator_app-calculator_app-d-d/authsec_mysql/mysql/wf_table/backend/src/main/resources/ .
VOLUME /var/lib/mysql
EXPOSE 3306
CMD ["mysqld"]

View File

@ -11,11 +11,11 @@ GIT_BRANCH=main
DOMAIN=157.66.191.31:3000
CONT_PORT=3306
TARGET_PORT=3306
PATH_DIR=/data/49445_1759311712376/sureops_deploy/calculator_app/sureops/calculator_app-calculator_app-d-d/deployment
PATH_DIR=/data/49445_1759311871609/sureops_deploy/calculator_app/sureops/calculator_app-calculator_app-d-d/deployment
#**********************
cd $PATH_DIR
cp /data/49445_1759311712376/sureops_deploy/calculator_app/calculator_app-calculator_app-d-d/authsec_mysql/mysql/wf_table/*.sql .
cp /data/49445_1759311871609/sureops_deploy/calculator_app/calculator_app-calculator_app-d-d/authsec_mysql/mysql/wf_table/*.sql .
pwd
DOCKER_TAG=1.0
# Stop any existing containers with the same name and ports

View File

@ -1171,7 +1171,12 @@ INSERT INTO `sec_menu_det` VALUES (null,'2023-01-25 11:12:27','2023-02-04 15:34:
SET @last_inserted_id = LAST_INSERT_ID();
INSERT INTO `sec_grp_menu_access` VALUES (@last_inserted_id,1,NULL,'2024-01-17 18:56:07','true',8001,'true','true','true','true','true','',NULL,1577,'','true','U1000','Enable',NULL,'2024-01-17 18:56:07');
COMMIT;
CREATE TABLE IF NOT EXISTS calculator(id BIGINT NOT NULL AUTO_INCREMENT, number2 int, number1 int, operation VARCHAR(400), result int, PRIMARY KEY (id));
START TRANSACTION;
INSERT INTO `sec_menu_det` VALUES (null,'2023-01-25 11:12:27','2023-02-04 15:34:36',8001,'',NULL,1577,'','U2000','Enable');
SET @last_inserted_id = LAST_INSERT_ID();
INSERT INTO `sec_grp_menu_access` VALUES (@last_inserted_id,1,NULL,'2024-01-17 18:56:07','true',8001,'true','true','true','true','true','',NULL,1577,'','true','U1000','Enable',NULL,'2024-01-17 18:56:07');
COMMIT;
CREATE TABLE IF NOT EXISTS calculator(id BIGINT NOT NULL AUTO_INCREMENT, number2 int, number1 int, operation VARCHAR(400), result VARCHAR(400), PRIMARY KEY (id));
START TRANSACTION;
INSERT INTO `sec_menu_det` VALUES (null,'2023-01-25 11:12:27','2023-02-04 15:34:36',8001,'Calculator',NULL,1577,'Calculator','U2000','Enable');
SET @last_inserted_id = LAST_INSERT_ID();

View File

@ -13,7 +13,7 @@ GIT_BRANCH="main"
DOMAIN="157.66.191.31:3000"
CONT_PORT=30167
TARGET_PORT=80
PATH_DIR="/data/49445_1759311712376/sureops_deploy/calculator_app/sureops/calculator_app-calculator_app-f-f/deployment"
PATH_DIR="/data/49445_1759311871609/sureops_deploy/calculator_app/sureops/calculator_app-calculator_app-f-f/deployment"
DOCKER_TAG="1.0"
MAX_RETRIES=3
RETRY_DELAY=10