2 Commits

Author SHA1 Message Date
85952177d3 #V2.0 - Ajustando tags. 2026-04-24 18:00:07 -03:00
8700bb0171 #V2.0 - Instalador da V2.0 do Sistema de Atendimento 2026-04-24 17:43:14 -03:00
2 changed files with 13 additions and 5 deletions

View File

@@ -34,7 +34,7 @@ services:
- app-network - app-network
attendancesystem-api: attendancesystem-api:
image: ${DOCKER_REPO}/backend-attendance-system-api:${IMAGEM_UNSTABLE_LATEST} image: ${DOCKER_REPO}/backend-attendance-system-api:${IMAGEM_RELEASE_1_3}
profiles: ["app"] profiles: ["app"]
ports: ports:
- "${BACKEND_ATTENDANCESYSTEM_API_INTERNAL_PORT}:${BACKEND_ATTENDANCESYSTEM_API_INTERNAL_PORT}" - "${BACKEND_ATTENDANCESYSTEM_API_INTERNAL_PORT}:${BACKEND_ATTENDANCESYSTEM_API_INTERNAL_PORT}"
@@ -71,7 +71,7 @@ services:
restart: "no" restart: "no"
attendancesystem-app: attendancesystem-app:
image: ${DOCKER_REPO}/attendancesystem-frontend:${IMAGEM_UNSTABLE_LATEST} image: ${DOCKER_REPO}/attendancesystem-frontend:${IMAGEM_RELEASE_2_0}
profiles: ["app"] profiles: ["app"]
volumes: volumes:
- config-volume:/config-inject:ro - config-volume:/config-inject:ro

View File

@@ -4,7 +4,7 @@
# 🚀 Instalador - AttendanceSystem # 🚀 Instalador - AttendanceSystem
# Uso: # Uso:
# bash <(curl -fsSL \ # bash <(curl -fsSL \
# "https://git.seventh.com.br/seventh.p7/attendance-system.install/raw/branch/develop/install.sh") # "https://git.seventh.com.br/seventh.p7/attendance-system.install/raw/branch/main/install.sh")
# ============================================================== # ==============================================================
# ── Redireciona stdin para o terminal quando rodado via curl | bash ── # ── Redireciona stdin para o terminal quando rodado via curl | bash ──
@@ -28,7 +28,7 @@ NC='\033[0m'
# ─── Repositório Git ────────────────────────────────────────── # ─── Repositório Git ──────────────────────────────────────────
INSTALL_DIR="attendancesystem" INSTALL_DIR="attendancesystem"
BRANCH="${BRANCH:-develop}" BRANCH="${BRANCH:-main}"
ENV_FILE="" ENV_FILE=""
GIT_REPO="https://git.seventh.com.br/seventh.p7/attendance-system.install.git" GIT_REPO="https://git.seventh.com.br/seventh.p7/attendance-system.install.git"
@@ -227,7 +227,7 @@ collect_internal_ports() {
ask BACKEND_ACCOUNT_API_INTERNAL_PORT "Backend Account API" "${BACKEND_ACCOUNT_API_INTERNAL_PORT:-10103}" ask BACKEND_ACCOUNT_API_INTERNAL_PORT "Backend Account API" "${BACKEND_ACCOUNT_API_INTERNAL_PORT:-10103}"
ask FRONTEND_SUITE_APP_INTERNAL_PORT "Frontend Suite" "${FRONTEND_SUITE_APP_INTERNAL_PORT:-4200}" ask FRONTEND_SUITE_APP_INTERNAL_PORT "Frontend Suite" "${FRONTEND_SUITE_APP_INTERNAL_PORT:-4200}"
ask FRONTEND_PEOPLE_APP_INTERNAL_PORT "Frontend People" "${FRONTEND_PEOPLE_APP_INTERNAL_PORT:-4201}" ask FRONTEND_PEOPLE_APP_INTERNAL_PORT "Frontend People" "${FRONTEND_PEOPLE_APP_INTERNAL_PORT:-4201}"
ask FRONTEND_ATTENDANCESYSTEM_APP_INTERNAL_PORT "Frontend AttendanceSystem" "${FRONTEND_ATTENDANCESYSTEM_APP_INTERNAL_PORT:-4202}" ask FRONTEND_ATTENDANCESYSTEM_APP_INTERNAL_PORT "Frontend AttendanceSystem" "${FRONTEND_ATTENDANCESYSTEM_APP_INTERNAL_PORT:-4220}"
ask FRONTEND_ACCOUNT_APP_INTERNAL_PORT "Frontend Account" "${FRONTEND_ACCOUNT_APP_INTERNAL_PORT:-4203}" ask FRONTEND_ACCOUNT_APP_INTERNAL_PORT "Frontend Account" "${FRONTEND_ACCOUNT_APP_INTERNAL_PORT:-4203}"
} }
@@ -356,6 +356,14 @@ ASPNETCORE_ENVIRONMENT=Production
DOCKER_REPO=seventhltda DOCKER_REPO=seventhltda
IMAGEM_LATEST=latest IMAGEM_LATEST=latest
IMAGEM_UNSTABLE_LATEST=unstable-latest IMAGEM_UNSTABLE_LATEST=unstable-latest
IMAGEM_RELEASE_1_1=1.1
IMAGEM_RELEASE_1_2=1.2
IMAGEM_RELEASE_1_3=1.3
IMAGEM_RELEASE_1_4=1.4
IMAGEM_RELEASE_1_5=1.5
IMAGEM_RELEASE_1_6=1.6
IMAGEM_RELEASE_1_7=1.7
IMAGEM_RELEASE_2_0=2.0
NGINX_DEFAULT_PORT=80 NGINX_DEFAULT_PORT=80
# ── MongoDB ─────────────────────────────────────────────── # ── MongoDB ───────────────────────────────────────────────