ai #2
@@ -8,7 +8,7 @@ RUN apk add --no-cache git
|
|||||||
|
|
||||||
# Clone repository
|
# Clone repository
|
||||||
ARG GIT_URL=https://git.six83.ru/ssa/configucci.git
|
ARG GIT_URL=https://git.six83.ru/ssa/configucci.git
|
||||||
ARG GIT_BRANCH=ai
|
ARG GIT_BRANCH=main
|
||||||
RUN git clone --depth 1 --branch ${GIT_BRANCH} ${GIT_URL} .
|
RUN git clone --depth 1 --branch ${GIT_BRANCH} ${GIT_URL} .
|
||||||
|
|
||||||
# Install dependencies
|
# Install dependencies
|
||||||
|
|||||||
@@ -14,7 +14,7 @@ NC='\033[0m' # No Color
|
|||||||
# Configuration
|
# Configuration
|
||||||
SERVER="${1:-}"
|
SERVER="${1:-}"
|
||||||
APP_NAME="configucci"
|
APP_NAME="configucci"
|
||||||
GIT_BRANCH="ai"
|
GIT_BRANCH="main"
|
||||||
|
|
||||||
echo -e "${GREEN}==================================${NC}"
|
echo -e "${GREEN}==================================${NC}"
|
||||||
echo -e "${GREEN} Configucci Docker Deployment ${NC}"
|
echo -e "${GREEN} Configucci Docker Deployment ${NC}"
|
||||||
@@ -64,7 +64,7 @@ set -e
|
|||||||
|
|
||||||
APP_DIR="/opt/configucci"
|
APP_DIR="/opt/configucci"
|
||||||
GIT_URL="https://git.six83.ru/ssa/configucci.git"
|
GIT_URL="https://git.six83.ru/ssa/configucci.git"
|
||||||
GIT_BRANCH="ai"
|
GIT_BRANCH="main"
|
||||||
|
|
||||||
echo "Creating app directory..."
|
echo "Creating app directory..."
|
||||||
mkdir -p \$APP_DIR
|
mkdir -p \$APP_DIR
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ services:
|
|||||||
dockerfile: Dockerfile
|
dockerfile: Dockerfile
|
||||||
args:
|
args:
|
||||||
GIT_URL: https://git.six83.ru/ssa/configucci.git
|
GIT_URL: https://git.six83.ru/ssa/configucci.git
|
||||||
GIT_BRANCH: ai
|
GIT_BRANCH: main
|
||||||
container_name: configucci-app
|
container_name: configucci-app
|
||||||
ports:
|
ports:
|
||||||
- "80:80"
|
- "80:80"
|
||||||
|
|||||||
Reference in New Issue
Block a user