4 Commits

2 changed files with 7 additions and 11 deletions

View File

@@ -34,10 +34,13 @@ services:
- app-network - app-network
attendancesystem-api: attendancesystem-api:
image: ${DOCKER_REPO}/backend-attendance-system-api:${IMAGEM_RELEASE_1_1} image: ${DOCKER_REPO}/backend-attendance-system-api:${IMAGEM_UNSTABLE_LATEST}
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}"
env_file:
- path: ./.env.observability
required: false
environment: environment:
- SYSBASE_URL=${SYSTEM_BASE_CONN} - SYSBASE_URL=${SYSTEM_BASE_CONN}
- SystemBaseConn=${SYSTEM_BASE_CONN} - SystemBaseConn=${SYSTEM_BASE_CONN}
@@ -71,7 +74,7 @@ services:
restart: "no" restart: "no"
attendancesystem-app: attendancesystem-app:
image: ${DOCKER_REPO}/attendancesystem-frontend:${IMAGEM_RELEASE_1_1} image: ${DOCKER_REPO}/attendancesystem-frontend:${IMAGEM_UNSTABLE_LATEST}
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/main/install.sh") # "https://git.seventh.com.br/seventh.p7/attendance-system.install/raw/branch/develop/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:-main}" BRANCH="${BRANCH:-develop}"
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"
@@ -356,13 +356,6 @@ 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
NGINX_DEFAULT_PORT=80 NGINX_DEFAULT_PORT=80
# ── MongoDB ─────────────────────────────────────────────── # ── MongoDB ───────────────────────────────────────────────