deployment_files

This commit is contained in:
risadmin_prod 2025-03-19 13:15:59 +00:00
parent 95791b93cb
commit 992ccc6aff
6 changed files with 8 additions and 8 deletions

View File

@ -9,7 +9,7 @@ LABEL stage=builder
LABEL build_id=$BUILD_ID
RUN mkdir repo
WORKDIR /repo
RUN git clone https://$GITEA_USER:$GITEA_PASS@157.66.191.31:3000/risadmin_prod/hostme16.git
RUN git clone http://$GITEA_USER:$GITEA_PASS@157.66.191.31:3000/risadmin_prod/hostme16.git
#************* Stage 2 - Maven Build **************
FROM maven:3.9.3 AS mvn
LABEL stage=builder

View File

@ -13,7 +13,7 @@ DOMAIN=157.66.191.31:3000
#WEB-URL-PORT
CONT_PORT=3306
TARGET_PORT=9292
PATH_DIR=/data/34428_1742389412565/sureops_deploy/hostme16/sureops/hostme16-back-b/deployment
PATH_DIR=/data/34428_1742390142142/sureops_deploy/hostme16/sureops/hostme16-back-b/deployment
#**********************
cd $PATH_DIR
DOCKER_TAG=1.0

View File

@ -6,13 +6,13 @@
#LABEL build_id=$BUILD_ID
#RUN mkdir repo
#WORKDIR /repo
#RUN git clone https://risadmin:admin1234@try.gitea.io/risadmin/a_madhurtest1.git
#RUN git clone http://risadmin:admin1234@try.gitea.io/risadmin/a_madhurtest1.git
#******** Stage 2 - Mysql Build*********
FROM mysql:8.0
ENV MYSQL_ROOT_PASSWORD root
COPY conf.d /etc/mysql/conf.d
COPY *.sql /docker-entrypoint-initdb.d/
#COPY --from=code /repo//data/34428_1742389412565/sureops_deploy/hostme16/hostme16-db-d/authsec_mysql/mysql/wf_table/backend/src/main/resources/ .
#COPY --from=code /repo//data/34428_1742390142142/sureops_deploy/hostme16/hostme16-db-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/34428_1742389412565/sureops_deploy/hostme16/sureops/hostme16-db-d/deployment
PATH_DIR=/data/34428_1742390142142/sureops_deploy/hostme16/sureops/hostme16-db-d/deployment
#**********************
cd $PATH_DIR
cp /data/34428_1742389412565/sureops_deploy/hostme16/hostme16-db-d/authsec_mysql/mysql/wf_table/*.sql .
cp /data/34428_1742390142142/sureops_deploy/hostme16/hostme16-db-d/authsec_mysql/mysql/wf_table/*.sql .
pwd
DOCKER_TAG=1.0
# Stop any existing containers with the same name and ports

View File

@ -8,7 +8,7 @@ LABEL stage=builder
LABEL build_id=$BUILD_ID
RUN mkdir repo
WORKDIR /repo
RUN git clone https://$GITEA_USER:$GITEA_PASS@157.66.191.31:3000/risadmin_prod/hostme16.git
RUN git clone http://$GITEA_USER:$GITEA_PASS@157.66.191.31:3000/risadmin_prod/hostme16.git
# angular build
FROM node:16.20.2-alpine3.18 as build
LABEL stage=app

View File

@ -13,7 +13,7 @@ GIT_BRANCH="main"
DOMAIN="157.66.191.31:3000"
CONT_PORT=30167
TARGET_PORT=80
PATH_DIR="/data/34428_1742389412565/sureops_deploy/hostme16/sureops/hostme16-front-f/deployment"
PATH_DIR="/data/34428_1742390142142/sureops_deploy/hostme16/sureops/hostme16-front-f/deployment"
DOCKER_TAG="1.0"
MAX_RETRIES=3
RETRY_DELAY=10