deployment_files
This commit is contained in:
		
							parent
							
								
									17fed026aa
								
							
						
					
					
						commit
						e41ffd7e01
					
				| @ -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/50819_1760423257008/sureops_deploy/app/sureops/app-app-b-b/deployment | PATH_DIR=/data/51499_1760684519225/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/50819_1760423257008/sureops_deploy/app/app-app-d-d/authsec_mysql/mysql/wf_table/backend/src/main/resources/ . |         #COPY --from=code /repo//data/51499_1760684519225/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/50819_1760423257008/sureops_deploy/app/sureops/app-app-d-d/deployment | PATH_DIR=/data/51499_1760684519225/sureops_deploy/app/sureops/app-app-d-d/deployment | ||||||
| 
 | 
 | ||||||
| #********************** | #********************** | ||||||
| cd $PATH_DIR | cd $PATH_DIR | ||||||
| cp /data/50819_1760423257008/sureops_deploy/app/app-app-d-d/authsec_mysql/mysql/wf_table/*.sql . | cp /data/51499_1760684519225/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 | ||||||
|  | |||||||
| @ -1156,25 +1156,11 @@ CREATE TABLE `sys_param_upload` ( | |||||||
| ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci; | ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci; | ||||||
| /*!40101 SET character_set_client = @saved_cs_client */; | /*!40101 SET character_set_client = @saved_cs_client */; | ||||||
| 
 | 
 | ||||||
|  | CREATE TABLE IF NOT EXISTS file_manager(id BIGINT NOT NULL AUTO_INCREMENT, filename VARCHAR(400), uploaddate Date, filesize int, filepath VARCHAR(400), filetype VARCHAR(400),  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,'',NULL,1577,'','U2000','Enable'); | INSERT INTO `sec_menu_det` VALUES (null,'2023-01-25 11:12:27','2023-02-04 15:34:36',8001,'File_manager',NULL,1577,'File_manager','U2000','Enable'); | ||||||
| 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','File_manager',NULL,1577,'File_manager','true','U1000','Enable',NULL,'2024-01-17 18:56:07');  | ||||||
| COMMIT;  |  | ||||||
| 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;  |  | ||||||
| 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;  |  | ||||||
| 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;  | COMMIT;  | ||||||
| 
 | 
 | ||||||
| -- | -- | ||||||
|  | |||||||
| @ -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/50819_1760423257008/sureops_deploy/app/sureops/app-app-f-f/deployment" | PATH_DIR="/data/51499_1760684519225/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