deployment_files
This commit is contained in:
parent
7588b62dd3
commit
b6d132723b
@ -13,7 +13,7 @@ DOMAIN=157.66.191.31:3000
|
|||||||
#WEB-URL-PORT
|
#WEB-URL-PORT
|
||||||
CONT_PORT=3306
|
CONT_PORT=3306
|
||||||
TARGET_PORT=9292
|
TARGET_PORT=9292
|
||||||
PATH_DIR=/data/49666_1759556865738/sureops_deploy/app/sureops/app-app-b-b/deployment
|
PATH_DIR=/data/49666_1759557001751/sureops_deploy/app/sureops/app-app-b-b/deployment
|
||||||
#**********************
|
#**********************
|
||||||
cd $PATH_DIR
|
cd $PATH_DIR
|
||||||
DOCKER_TAG=1.0
|
DOCKER_TAG=1.0
|
||||||
|
|||||||
@ -12,7 +12,7 @@
|
|||||||
ENV MYSQL_ROOT_PASSWORD root
|
ENV MYSQL_ROOT_PASSWORD root
|
||||||
COPY conf.d /etc/mysql/conf.d
|
COPY conf.d /etc/mysql/conf.d
|
||||||
COPY *.sql /docker-entrypoint-initdb.d/
|
COPY *.sql /docker-entrypoint-initdb.d/
|
||||||
#COPY --from=code /repo//data/49666_1759556865738/sureops_deploy/app/app-app-d-d/authsec_mysql/mysql/wf_table/backend/src/main/resources/ .
|
#COPY --from=code /repo//data/49666_1759557001751/sureops_deploy/app/app-app-d-d/authsec_mysql/mysql/wf_table/backend/src/main/resources/ .
|
||||||
VOLUME /var/lib/mysql
|
VOLUME /var/lib/mysql
|
||||||
EXPOSE 3306
|
EXPOSE 3306
|
||||||
CMD ["mysqld"]
|
CMD ["mysqld"]
|
||||||
@ -11,11 +11,11 @@ GIT_BRANCH=main
|
|||||||
DOMAIN=157.66.191.31:3000
|
DOMAIN=157.66.191.31:3000
|
||||||
CONT_PORT=3306
|
CONT_PORT=3306
|
||||||
TARGET_PORT=3306
|
TARGET_PORT=3306
|
||||||
PATH_DIR=/data/49666_1759556865738/sureops_deploy/app/sureops/app-app-d-d/deployment
|
PATH_DIR=/data/49666_1759557001751/sureops_deploy/app/sureops/app-app-d-d/deployment
|
||||||
|
|
||||||
#**********************
|
#**********************
|
||||||
cd $PATH_DIR
|
cd $PATH_DIR
|
||||||
cp /data/49666_1759556865738/sureops_deploy/app/app-app-d-d/authsec_mysql/mysql/wf_table/*.sql .
|
cp /data/49666_1759557001751/sureops_deploy/app/app-app-d-d/authsec_mysql/mysql/wf_table/*.sql .
|
||||||
pwd
|
pwd
|
||||||
DOCKER_TAG=1.0
|
DOCKER_TAG=1.0
|
||||||
# Stop any existing containers with the same name and ports
|
# Stop any existing containers with the same name and ports
|
||||||
|
|||||||
@ -1176,7 +1176,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();
|
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');
|
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;
|
COMMIT;
|
||||||
CREATE TABLE IF NOT EXISTS todo(id BIGINT NOT NULL AUTO_INCREMENT, task VARCHAR(400), duedate Date, description VARCHAR(400), completed bit(1), 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 todo(id BIGINT NOT NULL AUTO_INCREMENT, task VARCHAR(400), description VARCHAR(400), completed bit(1), duedate Date, PRIMARY KEY (id));
|
||||||
START TRANSACTION;
|
START TRANSACTION;
|
||||||
INSERT INTO `sec_menu_det` VALUES (null,'2023-01-25 11:12:27','2023-02-04 15:34:36',8001,'Todo',NULL,1577,'Todo','U2000','Enable');
|
INSERT INTO `sec_menu_det` VALUES (null,'2023-01-25 11:12:27','2023-02-04 15:34:36',8001,'Todo',NULL,1577,'Todo','U2000','Enable');
|
||||||
SET @last_inserted_id = LAST_INSERT_ID();
|
SET @last_inserted_id = LAST_INSERT_ID();
|
||||||
|
|||||||
@ -13,7 +13,7 @@ GIT_BRANCH="main"
|
|||||||
DOMAIN="157.66.191.31:3000"
|
DOMAIN="157.66.191.31:3000"
|
||||||
CONT_PORT=30167
|
CONT_PORT=30167
|
||||||
TARGET_PORT=80
|
TARGET_PORT=80
|
||||||
PATH_DIR="/data/49666_1759556865738/sureops_deploy/app/sureops/app-app-f-f/deployment"
|
PATH_DIR="/data/49666_1759557001751/sureops_deploy/app/sureops/app-app-f-f/deployment"
|
||||||
DOCKER_TAG="1.0"
|
DOCKER_TAG="1.0"
|
||||||
MAX_RETRIES=3
|
MAX_RETRIES=3
|
||||||
RETRY_DELAY=10
|
RETRY_DELAY=10
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user